mw.loader.implement("ext.centralNotice.bannerController",function(){(function($,mw){var rPlus=/\+/g;function decode(s){try{return decodeURIComponent(s.replace(rPlus,' '));}catch(e){return'';}}mw.centralNotice={data:{getVars:{},category:'default',bucket:null,testing:false},bannerData:{},events:{},alreadyRan:false,deferredObjs:{},loadBanner:function(){if(mw.centralNotice.data.getVars.banner){mw.centralNotice.loadTestingBanner(mw.centralNotice.data.getVars.banner,'none','testing');}else{mw.centralNotice.loadRandomBanner();}},loadTestingBanner:function(bannerName,campaign){var bannerPageQuery;mw.centralNotice.data.testing=true;bannerPageQuery={title:'Special:BannerLoader',banner:bannerName,campaign:campaign,uselang:mw.config.get('wgUserLanguage'),db:mw.config.get('wgDBname'),project:mw.config.get('wgNoticeProject'),country:mw.centralNotice.data.country,device:mw.centralNotice.data.device};$.ajax({url:mw.config.get('wgCentralPagePath')+'?'+$.param(bannerPageQuery),dataType:'script',cache: true});},loadRandomBanner:function(){var RAND_MAX=30;var bannerDispatchQuery={uselang:mw.config.get('wgUserLanguage'),sitename:mw.config.get('wgSiteName'),project:mw.config.get('wgNoticeProject'),anonymous:mw.config.get('wgUserName')===null,bucket:mw.centralNotice.data.bucket,country:mw.centralNotice.data.country,device:mw.centralNotice.data.device,slot:Math.floor(Math.random()*RAND_MAX)+1};var scriptUrl=mw.config.get('wgCentralBannerDispatcher')+'?'+$.param(bannerDispatchQuery);$.ajax({url:scriptUrl,dataType:'script',cache:true});},insertBanner:function(bannerJson){window.insertBanner(bannerJson);},toggleNotice:function(){window.toggleNotice();},hideBanner:function(){window.hideBanner();},recordImpression:function(data){var url=mw.config.get('wgCentralBannerRecorder')+'?'+$.param(data);(new Image()).src=url;},loadQueryStringVariables:function(){document.location.search.replace(/\??(?:([^=]+)=([^&]*)&?)/g,function(str,p1,p2){mw.centralNotice.data.getVars[decode(p1)]=decode(p2);});}, getBucket:function(){var dataString=$.cookie('centralnotice_bucket')||'',bucket=dataString.split('-')[0],validity=dataString.split('-')[1],expValidity=mw.config.get('wgNoticeNumberOfBuckets')+'.'+mw.config.get('wgNoticeNumberOfControllerBuckets');if((bucket===null)||(validity!==expValidity)){bucket=Math.floor(Math.random()*mw.config.get('wgNoticeNumberOfControllerBuckets'));$.cookie('centralnotice_bucket',bucket+'-'+expValidity,{expires:mw.config.get('wgNoticeBucketExpiry'),path:'/'});}return bucket;},initialize:function(){if(mw.centralNotice.alreadyRan){return;}mw.centralNotice.alreadyRan=true;mw.centralNotice.loadQueryStringVariables();mw.centralNotice.data.bucket=mw.centralNotice.getBucket();mw.centralNotice.data.country=mw.centralNotice.data.getVars.country||window.Geo.country||'XX';mw.centralNotice.isPreviewFrame=(mw.config.get('wgCanonicalSpecialPageName')==='BannerPreview');mw.centralNotice.data.device=mw.centralNotice.data.getVars.device||mw.config.get('wgMobileDeviceName', 'desktop');if(mw.config.get('wgNamespaceNumber')==-1&&!mw.centralNotice.isPreviewFrame){return;}mw.centralNotice.deferredObjs.bannerLoaded=$.Deferred();mw.centralNotice.events.bannerLoaded=mw.centralNotice.deferredObjs.bannerLoaded.promise();$('#siteNotice').prepend('
');if(mw.centralNotice.data.country==='XX'){$.ajax({url:'//geoiplookup.wikimedia.org/',dataType:'script',cache:true,complete:function(){if(window.Geo.country){mw.centralNotice.data.country=window.Geo.country;}else{mw.centralNotice.data.country='XX';}mw.centralNotice.loadBanner();}});}else{mw.centralNotice.loadBanner();}}};window.insertBanner=function(bannerJson){var url,targets;var impressionData={country:mw.centralNotice.data.country,uselang:mw.config.get('wgUserLanguage'),project:mw.config.get('wgNoticeProject'),db:mw.config.get('wgDBname'),bucket:mw.centralNotice.data.bucket,anonymous:mw.config.get('wgUserName')===null,device:mw.centralNotice.data.device};var impressionResultData=null;if(! bannerJson){impressionResultData={result:'hide',reason:'empty'};}else{mw.centralNotice.data.category=encodeURIComponent(bannerJson.category);if(typeof mw.centralNotice.bannerData.preload==='function'&&!mw.centralNotice.bannerData.preload()){impressionResultData={result:'hide',reason:'preload'};}else if(mw.centralNotice.data.testing===false&&($.cookie('centralnotice_hide_'+mw.centralNotice.data.category)==='hide'||$.cookie('centralnotice_'+mw.centralNotice.data.category)==='hide')){impressionResultData={result:'hide',reason:'cookie'};}else{mw.centralNotice.bannerData.bannerName=bannerJson.bannerName;$('div#centralNotice').attr('class',mw.html.escape('cn-'+mw.centralNotice.data.category)).prepend(bannerJson.bannerHtml);if(bannerJson.autolink){url=mw.config.get('wgNoticeFundraisingUrl');if((bannerJson.landingPages!==null)&&bannerJson.landingPages.length){targets=String(bannerJson.landingPages).split(',');if($.inArray(mw.centralNotice.data.country,mw.config.get('wgNoticeXXCountries'))!==-1 ){mw.centralNotice.data.country='XX';}url+="?"+$.param({landing_page:targets[Math.floor(Math.random()*targets.length)].replace(/^\s+|\s+$/,''),utm_medium:'sitenotice',utm_campaign:bannerJson.campaign,utm_source:bannerJson.bannerName,language:mw.config.get('wgUserLanguage'),country:mw.centralNotice.data.country});$('#cn-landingpage-link').attr('href',url);}}var bannerShown=true;if(typeof mw.centralNotice.bannerData.alterImpressionData==='function'){bannerShown=mw.centralNotice.bannerData.alterImpressionData(impressionData);}if(bannerShown){impressionResultData={banner:bannerJson.bannerName,campaign:bannerJson.campaign,result:'show'};}else{impressionResultData={result:'hide'};}}}impressionResultData=$.extend(impressionResultData,impressionData);if(!mw.centralNotice.data.testing){mw.centralNotice.recordImpression(impressionResultData);}mw.centralNotice.deferredObjs.bannerLoaded.resolve(impressionResultData);};window.hideBanner=function(){$('#centralNotice').hide();var d=new Date();d. setSeconds(d.getSeconds()+mw.config.get('wgNoticeCookieShortExpiry'));$.cookie('centralnotice_hide_'+mw.centralNotice.data.category,'hide',{expires:d,path:'/'});};window.toggleNotice=function(){window.hideBanner();};$(function(){mw.centralNotice.initialize();});})(jQuery,mediaWiki);;},{"css":["@media print{#centralNotice{display:none}}\n/* cache key: enwiki:resourceloader:filter:minify-css:7:ddb0c98a055632ae8e349c9cf48ac703 */"]},{});mw.loader.implement("ext.centralauth.centralautologin.clearcookie",function(){(function(mw){if(mw.config.get('wgUserName')!==null){if('localStorage'in window){localStorage.removeItem('CentralAuthAnon');}if(/(^|; )CentralAuthAnon=1/.test(document.cookie)){document.cookie='CentralAuthAnon=0; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/';}}}(mediaWiki));;},{},{});mw.loader.implement("ext.uls.i18n",function(){(function($,mw){'use strict';mw.uls=mw.uls||{};window.pluralRuleParser=mw.libs.pluralRuleParser;$.i18n({locale:mw.config.get('wgUserLanguage')});$.i18n. fallbacks={};mw.uls.loadLocalization=function(locale){var i18n=$.i18n();i18n.locale=locale;if(i18n.messageStore.messages[locale]){return $.Deferred().resolve();}return i18n.load(mw.util.wikiScript('api')+'?action=ulslocalization&language='+locale,locale);};}(jQuery,mediaWiki));;},{},{});mw.loader.implement("ext.uls.ime",function(){(function($,mw,document,undefined){'use strict';var mwImeRulesPath,inputSelector,inputPreferences,ulsIMEPreferences,customHelpLink;mwImeRulesPath=mw.config.get('wgExtensionAssetsPath')+'/UniversalLanguageSelector/lib/jquery.ime/';inputSelector='input:not([type]), input[type=text], input[type=search], textarea, [contenteditable]';inputPreferences=mw.uls.preferences();mw.ime=mw.ime||{};mw.ime.getLanguagesWithIME=function(){var language,availableLanguages={};for(language in $.ime.languages){availableLanguages[language]=mw.config.get('wgULSLanguages')[language];}return availableLanguages;};mw.ime.getIMELanguageList=function(){var unique=[],imeLanguageList, previousIMELanguages;previousIMELanguages=$.ime.preferences.getPreviousLanguages()||[];imeLanguageList=previousIMELanguages.concat(mw.uls.getFrequentLanguageList());$.each(imeLanguageList,function(i,v){if($.inArray(v,unique)===-1){unique.push(v);}});return unique.slice(0,6);};ulsIMEPreferences={save:function(callback){if(!this.registry.isDirty){if(callback){callback.call(this,true);}return;}inputPreferences.set('ime',this.registry);inputPreferences.save(callback);this.registry.isDirty=false;},load:function(){this.registry=inputPreferences.get('ime')||this.registry;},disable:function(){this.registry.isDirty=true;this.registry.enable=false;},enable:function(){this.registry.isDirty=true;this.registry.enable=true;},isEnabled:function(){if(this.registry.enable===undefined){return mw.config.get('wgULSIMEEnabled');}else{return this.registry.enable;}},getDefaultLanguage:function(){return mw.config.get('wgContentLanguage');}};customHelpLink=function(){var $disableInputToolsLink, $moreSettingsLink,imeselector=this;$disableInputToolsLink=$('').addClass('uls-ime-disable-link').attr('data-i18n','ext-uls-input-disable');$moreSettingsLink=$('').addClass('uls-ime-more-settings-link');mw.loader.using(mw.uls.languageSettingsModules,function(){$moreSettingsLink.languagesettings({defaultModule:'input',onClose:function(){imeselector.$element.focus();},top:imeselector.$element.offset().top});});$moreSettingsLink.on('click',function(e){var languageSettings=$(this).data('languagesettings');imeselector.hide();if(!languageSettings){$(this).languagesettings({defaultModule:'input',onClose:function(){imeselector.$element.focus();},top:imeselector.$element.offset().top}).click();}e.stopPropagation();});$disableInputToolsLink.i18n();$disableInputToolsLink.on('click',function(e){$.ime.preferences.disable();imeselector.hide();imeselector.$imeSetting.hide();$.ime.preferences.save(function(){mw.ime.disable();imeNotification();mw.hook('mw.uls.ime.disable').fire('menu');});e. stopPropagation();});imeselector.$menu.webfonts();return $('
').addClass('uls-ime-menu-settings-item').append($disableInputToolsLink,$moreSettingsLink);};mw.ime.disable=function(){$(inputSelector).trigger('destroy.ime');};mw.ime.init=function(){if(!$.ime){return;}if($.ime.preferences.isEnabled){return;}$.extend($.ime.preferences,ulsIMEPreferences);$.extend($.ime.defaults,{imePath:mwImeRulesPath});$.ime.preferences.load();$.fn.imeselector.Constructor.prototype.helpLink=customHelpLink;$.fn.imeselector.Constructor.prototype.getAutonym=function(languageCode){return $.uls.data.getAutonym(languageCode);};};mw.ime.setup=function(){mw.ime.init();$('body').on('focus.ime',inputSelector,function(){var imeselector,$input,noImeSelector;noImeSelector=mw.config.get('wgULSNoImeSelectors').join(', ');$input=$(this);if(!$.ime){mw.loader.using('jquery.ime',function(){$input.trigger('focus');});return;}mw.ime.init();if($input.is('.noime')||!$.ime.preferences.isEnabled()){return;}if($input.is( '[contenteditable]')&&!window.rangy){mw.loader.using('rangy.core',function(){$input.trigger('focus');});return;}if(noImeSelector.length&&$input.is(noImeSelector)){$input.addClass('noime');return;}$input.ime({languages:mw.ime.getIMELanguageList(),languageSelector:function(){var $ulsTrigger;$ulsTrigger=$('').text('...').addClass('ime-selector-more-languages selectable-row selectable-row-item').attr({title:$.i18n('ext-uls-input-settings-more-languages-tooltip')});$ulsTrigger.uls({onSelect:function(language){$input.data('imeselector').selectLanguage(language);$input.focus();},languages:mw.ime.getLanguagesWithIME(),top:$input.offset().top});return $ulsTrigger;},helpHandler:function(ime){return $('').attr({href:mw.msg('uls-ime-helppage').replace('$1',ime),target:'_blank',title:$.i18n('ext-uls-ime-help')}).addClass('ime-perime-help').click(function(event){event.stopPropagation();});}});imeselector=$input.data('imeselector');if(imeselector){imeselector.selectLanguage(imeselector. decideLanguage());imeselector.$element.on('setim.ime',function(event,inputMethod){mw.hook('mw.uls.ime.change').fire(inputMethod);});}});};$(document).ready(function(){mw.uls.init(function(){mw.ime.setup();});});function imeNotification(){var notificationMsg=(mw.config.get('wgULSPosition')==='personal')?'ext-uls-input-disable-notification-info-personal':'ext-uls-input-disable-notification-info-interlanguage',$notification=$('
').addClass('uls-ime-notification-bubble').append($('
').attr('data-i18n','ext-uls-input-disable-notification'),$('
').addClass('link').attr('data-i18n','ext-uls-input-disable-notification-undo').on('click',function(){$.ime.preferences.enable();$.ime.preferences.save(function(){mw.ime.setup();});}),$('
').attr('data-i18n',notificationMsg));mw.notify($notification.i18n());}}(jQuery,mediaWiki,document));;},{},{"uls-ime-helppage":"https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Extension:UniversalLanguageSelector/Input_methods/$1"});mw.loader. implement("ext.uls.init",function(){(function($,mw,undefined){'use strict';if(mw.hook===undefined){mw.hook=(function(){var lists={},slice=Array.prototype.slice;return function(name){var list=lists[name]||(lists[name]=$.Callbacks('memory'));return{add:list.add,remove:list.remove,fire:function(){return list.fireWith(null,slice.call(arguments));}};};}());}$.fn.uls.defaults=$.extend($.fn.uls.defaults,{languages:mw.config.get('wgULSLanguages'),searchAPI:mw.util.wikiScript('api')+'?action=languagesearch'});$.fn.uls.Constructor.prototype.render=function(){this.$languageFilter.addClass('noime');};var jsonLoader=null,initialized=false,currentLang=mw.config.get('wgUserLanguage');mw.uls=mw.uls||{};mw.uls.previousLanguagesCookie='uls-previous-languages';mw.uls.languageSettingsModules=['ext.uls.inputsettings','ext.uls.displaysettings'];mw.uls.languageSelectionMethod=undefined;mw.uls.addEventLoggingTriggers=function(){mw.uls.languageSelectionMethod=undefined;$('#map-block').on('click',function(){mw. uls.languageSelectionMethod='map';});$('#languagefilter').on('keydown',function(){if($(this).val()===''){mw.uls.languageSelectionMethod='search';}});$('#uls-lcd-quicklist a').on('click',function(){mw.uls.languageSelectionMethod='common';});};mw.uls.changeLanguage=function(language){var uri=new mw.Uri(window.location.href),deferred=new $.Deferred();deferred.done(function(){uri.extend({setlang:language});window.location.href=uri.toString();});mw.hook('mw.uls.interface.language.change').fire(language,deferred);window.setTimeout(function(){deferred.resolve();},mw.config.get('wgULSEventLogging')*500);};mw.uls.setPreviousLanguages=function(previousLanguages){$.cookie(mw.uls.previousLanguagesCookie,$.toJSON(previousLanguages),{path:'/'});};mw.uls.getPreviousLanguages=function(){var previousLanguages=$.cookie(mw.uls.previousLanguagesCookie);if(!previousLanguages){return[];}return $.parseJSON(previousLanguages).slice(-5);};mw.uls.getBrowserLanguage=function(){return(window.navigator.language|| window.navigator.userLanguage||'').split('-')[0];};mw.uls.getCountryCode=function(){return window.Geo&&(window.Geo.country||window.Geo.country_code);};mw.uls.getAcceptLanguageList=function(){return mw.config.get('wgULSAcceptLanguageList');};mw.uls.getFrequentLanguageList=function(countryCode){var unique=[],list=[mw.config.get('wgUserLanguage'),mw.config.get('wgContentLanguage'),mw.uls.getBrowserLanguage()].concat(mw.uls.getPreviousLanguages()).concat(mw.uls.getAcceptLanguageList());countryCode=countryCode||mw.uls.getCountryCode();if(countryCode){list=list.concat($.uls.data.getLanguagesInTerritory(countryCode));}$.each(list,function(i,v){if($.inArray(v,unique)===-1){unique.push(v);}});unique=$.grep(unique,function(langCode){var target;if($.fn.uls.defaults.languages[langCode]!==undefined){return true;}target=$.uls.data.isRedirect(langCode);if(target){return $.fn.uls.defaults.languages[target]!==undefined;}return false;});return unique;};function isBrowserSupported(){var blacklist={'msie' :[['<=',7]]};if(parseInt(mw.config.get('wgVersion').split('.')[1],'10')<22){return!/MSIE [67]/i.test(navigator.userAgent);}return!$.client.test(blacklist,null,true);}mw.uls.init=function(callback){callback=callback||$.noop;if(initialized){callback.call(this);return;}if(!isBrowserSupported()){$('#pt-uls').hide();return;}$.uls.data.addLanguage('als',{target:'gsw'});if(!jsonLoader){jsonLoader=mw.uls.loadLocalization(currentLang);}else{jsonLoader.done(function(){initialized=true;});jsonLoader.done(callback);}};$(document).ready(function(){mw.uls.init();});}(jQuery,mediaWiki));;},{"css":[ "#pt-uls a.uls-trigger{padding-left:30px}#p-lang .uls-settings-trigger{background:transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAgCAMAAAAVMLmlAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAALpQTFRF////W1tbgICAWVlZgICAUVFRgICAWVlZhYWFUlJShYWFVFRUgYGBVVVVgYGBVVVVgICAVFRUVVVVVlZWgYGBgICAVFRUgYGBVFRUgICAgYGBVVVVVVVVgYGBVlZWgYGBVFRUgICAVFRUgICAVVVVgICAVlZWgICAVFRUgICAVVVVgICAVFRUgICAVlZWgICAVVVVgICAVVVVgICAVVVVgICAVVVVgICAVVVVgICAVVVVgICAVVVVgICA9Fa9bgAAADx0Uk5TAA4OFBQWFhcXGRlJSUtLWlpbXV9fYGFhZGRlZmlpa2twcIiIioqPj5GRn5+goKGh6+vv7/Dw+fn8/P7+YuRUVgAAAOlJREFUGBmNwcdWAgEURMFLFCUaAcWAEhQYHBRmCN3//1u+BYcVC6s4p2U3OLrrVxN7Xn7uELoH5w65Dx1g6JNnoLazfz++VnZehkZir4pQ3NjzBg5TwtgBhzFh6kDr294UobiykxZc7ezVdLyx8yrw6pM+8GjnDjsf7gj3/WpiJ7Vhl6OW3eC/mlKdo5teZSHNSoM24XqvTCHTvg0MdDIASpn08/6ZSlkJ6jMpLUBhLc3qKEwIIwUURoSJAs2ltC5AIZUWTbjcSulktJayCvCikx7wJG0VttrfEp5eLpfS4uLtgaOmVOeMP8BAM9RClMO9AAAAAElFTkSuQmCC) no-repeat right top;background:transparent url(//bits.wikimedia.org/static-1.22wmf21/extensions/UniversalLanguageSelector/resources/css/../images/cog-sprite.png?2013-10-10T16:45:00Z) no-repeat right top!ie;background-image:-webkit-linear-gradient(transparent,transparent),url(//bits.wikimedia.org/static-1.22wmf21/extensions/UniversalLanguageSelector/resources/css/../images/cog-sprite.svg?2013-10-10T16:45:00Z);background-image:-moz-linear-gradient(transparent,transparent),url(//bits.wikimedia.org/static-1.22wmf21/extensions/UniversalLanguageSelector/resources/css/../images/cog-sprite.svg?2013-10-10T16:45:00Z);background-image:linear-gradient(transparent,transparent),url(//bits.wikimedia.org/static-1.22wmf21/extensions/UniversalLanguageSelector/resources/css/../images/cog-sprite.svg?2013-10-10T16:45:00Z);height:16px;width:14px;float:right;cursor:pointer}.skin-vector #p-lang .uls-settings-trigger{ margin-top:3px}#p-lang .uls-settings-trigger:hover{background-position:right -16px} x:-o-prefocus,body.rtl li#pt-uls{ direction:ltr}#settings-block{border-top:1px solid #C9C9C9;background:#f8f8f8;background:-webkit-gradient(linear,left top,left bottom,from(#FBFBFB),to(#F0F0F0));background:-webkit-linear-gradient(top,#FBFBFB,#F0F0F0);background:-moz-linear-gradient(top,#FBFBFB,#F0F0F0);background:-ms-linear-gradient(top,#FBFBFB,#F0F0F0);background:-o-linear-gradient(top,#FBFBFB,#F0F0F0);background:linear-gradient(#FBFBFB,#F0F0F0);padding-left:10px;line-height:1.2em;-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px}.uls-menu a{cursor:pointer}.uls-menu.callout .caret-before{border-top:20px solid transparent;border-right:20px solid #AAA;border-bottom:20px solid transparent;display:inline-block;left:-21px;top:30px;position:absolute}.uls-menu.callout .caret-after{border-top:20px solid transparent;border-right:20px solid #FCFCFC;border-bottom:20px solid transparent;display:inline-block;left:-20px;top:30px;position:absolute}#settings-block div.display-settings-block,#settings-block div.input-settings-block{display:inline-block;margin:8px 15px;color:#565656}#settings-block div.display-settings-block:hover,#settings-block div.input-settings-block:hover{color:#252525}.uls-ui-languages button{width:23%;text-overflow:ellipsis;margin-right:4%}button.uls-more-languages{width:auto}.settings-title{font-size:11pt}.settings-text{color:#555555;font-size:9pt}div.display-settings-block:hover .settings-text{color:#252525} .ime-perime-help{display:none}.ime-checked .ime-perime-help{display:inline-block;width:20px;height:100%;position:absolute;top:0;bottom:0;right:0;opacity:0.75;padding:0;background:transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAMAAABhEH5lAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAFdQTFRF////AAAAZmZmVVVVSUlJW1tbVVVVV1dXWFhYVVVVV1dXVlZWWFhYV1dXWFhYVlZWV1dXVlZWV1dXV1dXWFhYV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXrNxhuAAAABx0Uk5TAAEFBgcOJCkxNlVla3KDi5WrsrbJ09ny9vf9/uWqFuIAAACESURBVBjTdZDBDsIgEERHai2KUqmllfr+/zs9AFYTnMsmL7uTmZX+yVjnrPkCnU8AyXeVDJGiOJSdCLzmsAIx73ngeZKOC+AlySSA8LjrCiQjyRafmzyAleQymQ7nFcDt6NItVFQOp5Cn/dgzjlDts+vW9xs1RI7KPLNHbRRq1W4951dvPF4RAFiSul8AAAAASUVORK5CYII=) left center no-repeat;background:transparent url(//bits.wikimedia.org/static-1.22wmf21/extensions/UniversalLanguageSelector/resources/css/../images/help.png?2013-10-10T16:45:00Z) left center no-repeat!ie;background-image:-webkit-linear-gradient(transparent,transparent),url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiCiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB2ZXJzaW9uPSIxLjEiCiAgIHdpZHRoPSIxOCIKICAgaGVpZ2h0PSIxOCIKICAgdmlld0JveD0iMCAwIDE4IDE4LjAwMDAwMSIKICAgaWQ9IkxheWVyXzEiCiAgIHhtbDpzcGFjZT0icHJlc2VydmUiPjxtZXRhZGF0YQogICBpZD0ibWV0YWRhdGE5Ij48cmRmOlJERj48Y2M6V29yawogICAgICAgcmRmOmFib3V0PSIiPjxkYzpmb3JtYXQ+aW1hZ2Uvc3ZnK3htbDwvZGM6Zm9ybWF0PjxkYzp0eXBlCiAgICAgICAgIHJkZjpyZXNvdXJjZT0iaHR0cDovL3B1cmwub3JnL2RjL2RjbWl0eXBlL1N0aWxsSW1hZ2UiIC8+PGRjOnRpdGxlPjwvZGM6dGl0bGU+PC9jYzpXb3JrPjwvcmRmOlJERj48L21ldGFkYXRhPjxkZWZzCiAgIGlkPSJkZWZzNyIgLz4KPHBhdGgKICAgZD0ibSA5LjAwMDAwMDMsMS40OTk2NDM3IGMgLTQuMTQxNDE5MSwwIC03LjUwMDAwMDQsMy4zNTc4NjkgLTcuNTAwMDAwNCw3LjUwMDAwMTQgMCw0LjE0MjEzMDkgMy4zNTg1ODEzLDcuNTAwNzExOSA3LjUwMDAwMDQsNy41MDA3MTE5IEMgMTMuMTQyODQ0LDE2LjUwMDM1NyAxNi41LDEzLjE0MTc3NiAxNi41LDguOTk5NjQ1MSAxNi41LDQuODU3NTEyNyAxMy4xNDM1NTYsMS40OTk2NDM3IDkuMDAwMDAwMywxLjQ5OTY0MzcgeiBtIC0wLjAwMTQyLDExLjk0MzQ0MjMgYyAtMC42MTMzMDYyLDAgLTEuMDY3MDUzLC0wLjQ5MDA3NCAtMS4wNjcwNTMsLTEuMDc5ODc0IDAsLTAuNjE0MDE4IDAuNDUzNzQ2OCwtMS4wOTI2OTcgMS4wNjcwNTMsLTEuMDkyNjk3IDAuNTg5Nzk5NSwwIDEuMDY4NDc4NywwLjQ3ODY3OSAxLjA2ODQ3ODcsMS4wOTI2OTcgMCwwLjU4OTA4NyAtMC40Nzg2NzkyLDEuMDc5ODc0IC0xLjA2ODQ3ODcsMS4wNzk4NzQgeiBNIDEwLjUyMDgwOCw4LjgwNDQ3MDIgQyAxMC4wMDU4MDMsOS4yMDkwNjY4IDkuODA4NDg5Myw5LjQ2NzYzODQgOS44MDg0ODkzLDEwLjA0MzE5MSBWIDEwLjM5OTM1IEggOC4yMzc4MTk1IFYgOS45Njk4MjI2IGMgMCwtMS4wODA1ODY2IDAuMzE5ODMxLC0xLjUyMTUxMyAwLjgyMjAxNTgsLTEuOTE0NzEzIDAuNTAzNjA5MywtMC4zOTMxOTkxIDAuODExMzMwNiwtMC42MDE5MDkxIDAuODExMzMwNiwtMS4xNjYwNjQ4IDAsLTAuNDc4Njc4MSAtMC4yOTQ5LC0wLjc0ODY0NjcgLTAuODgzMjc0OCwtMC43NDg2NDY3IC0wLjUwMzYwOTQsMCAtMC45NDU5NTkxLDAuMTM0NjI4MSAtMS40MTE4MTUzLDAuNDU0NDU5MiBMIDYuODI3NDI5MSw1LjMwNzY5NzggQyA3LjQ0MDczNTMsNC44Nzc0NTc1IDguMjAyMjAzNiw0LjU3MTE2MDcgOS4yMDc5OTY5LDQuNTcxMTYwNyBjIDEuMzYxOTUzMSwwIDIuNTA0NTEyMSwwLjc0ODY0NjUgMi41MDQ1MTIxLDIuMTgzOTY4MiAtNy4xMmUtNCwxLjAxODYxNDkgLTAuNTY1NTgsMS41NTg1NTI1IC0xLjE5MTcwOSwyLjA0OTM0MTMgeiIKICAgaWQ9InBhdGgzIgogICBzdHlsZT0iZmlsbDojNTc1NzU3IiAvPgo8L3N2Zz4=);background-image:-webkit-linear-gradient(transparent,transparent),url(//bits.wikimedia.org/static-1.22wmf21/extensions/UniversalLanguageSelector/resources/css/../images/help.svg?2013-10-10T16:45:00Z)!ie;background-image:linear-gradient(transparent,transparent),url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiCiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB2ZXJzaW9uPSIxLjEiCiAgIHdpZHRoPSIxOCIKICAgaGVpZ2h0PSIxOCIKICAgdmlld0JveD0iMCAwIDE4IDE4LjAwMDAwMSIKICAgaWQ9IkxheWVyXzEiCiAgIHhtbDpzcGFjZT0icHJlc2VydmUiPjxtZXRhZGF0YQogICBpZD0ibWV0YWRhdGE5Ij48cmRmOlJERj48Y2M6V29yawogICAgICAgcmRmOmFib3V0PSIiPjxkYzpmb3JtYXQ+aW1hZ2Uvc3ZnK3htbDwvZGM6Zm9ybWF0PjxkYzp0eXBlCiAgICAgICAgIHJkZjpyZXNvdXJjZT0iaHR0cDovL3B1cmwub3JnL2RjL2RjbWl0eXBlL1N0aWxsSW1hZ2UiIC8+PGRjOnRpdGxlPjwvZGM6dGl0bGU+PC9jYzpXb3JrPjwvcmRmOlJERj48L21ldGFkYXRhPjxkZWZzCiAgIGlkPSJkZWZzNyIgLz4KPHBhdGgKICAgZD0ibSA5LjAwMDAwMDMsMS40OTk2NDM3IGMgLTQuMTQxNDE5MSwwIC03LjUwMDAwMDQsMy4zNTc4NjkgLTcuNTAwMDAwNCw3LjUwMDAwMTQgMCw0LjE0MjEzMDkgMy4zNTg1ODEzLDcuNTAwNzExOSA3LjUwMDAwMDQsNy41MDA3MTE5IEMgMTMuMTQyODQ0LDE2LjUwMDM1NyAxNi41LDEzLjE0MTc3NiAxNi41LDguOTk5NjQ1MSAxNi41LDQuODU3NTEyNyAxMy4xNDM1NTYsMS40OTk2NDM3IDkuMDAwMDAwMywxLjQ5OTY0MzcgeiBtIC0wLjAwMTQyLDExLjk0MzQ0MjMgYyAtMC42MTMzMDYyLDAgLTEuMDY3MDUzLC0wLjQ5MDA3NCAtMS4wNjcwNTMsLTEuMDc5ODc0IDAsLTAuNjE0MDE4IDAuNDUzNzQ2OCwtMS4wOTI2OTcgMS4wNjcwNTMsLTEuMDkyNjk3IDAuNTg5Nzk5NSwwIDEuMDY4NDc4NywwLjQ3ODY3OSAxLjA2ODQ3ODcsMS4wOTI2OTcgMCwwLjU4OTA4NyAtMC40Nzg2NzkyLDEuMDc5ODc0IC0xLjA2ODQ3ODcsMS4wNzk4NzQgeiBNIDEwLjUyMDgwOCw4LjgwNDQ3MDIgQyAxMC4wMDU4MDMsOS4yMDkwNjY4IDkuODA4NDg5Myw5LjQ2NzYzODQgOS44MDg0ODkzLDEwLjA0MzE5MSBWIDEwLjM5OTM1IEggOC4yMzc4MTk1IFYgOS45Njk4MjI2IGMgMCwtMS4wODA1ODY2IDAuMzE5ODMxLC0xLjUyMTUxMyAwLjgyMjAxNTgsLTEuOTE0NzEzIDAuNTAzNjA5MywtMC4zOTMxOTkxIDAuODExMzMwNiwtMC42MDE5MDkxIDAuODExMzMwNiwtMS4xNjYwNjQ4IDAsLTAuNDc4Njc4MSAtMC4yOTQ5LC0wLjc0ODY0NjcgLTAuODgzMjc0OCwtMC43NDg2NDY3IC0wLjUwMzYwOTQsMCAtMC45NDU5NTkxLDAuMTM0NjI4MSAtMS40MTE4MTUzLDAuNDU0NDU5MiBMIDYuODI3NDI5MSw1LjMwNzY5NzggQyA3LjQ0MDczNTMsNC44Nzc0NTc1IDguMjAyMjAzNiw0LjU3MTE2MDcgOS4yMDc5OTY5LDQuNTcxMTYwNyBjIDEuMzYxOTUzMSwwIDIuNTA0NTEyMSwwLjc0ODY0NjUgMi41MDQ1MTIxLDIuMTgzOTY4MiAtNy4xMmUtNCwxLjAxODYxNDkgLTAuNTY1NTgsMS41NTg1NTI1IC0xLjE5MTcwOSwyLjA0OTM0MTMgeiIKICAgaWQ9InBhdGgzIgogICBzdHlsZT0iZmlsbDojNTc1NzU3IiAvPgo8L3N2Zz4=);background-image:linear-gradient(transparent,transparent),url(//bits.wikimedia.org/static-1.22wmf21/extensions/UniversalLanguageSelector/resources/css/../images/help.svg?2013-10-10T16:45:00Z)!ie}.ime-checked .ime-perime-help:hover{opacity:1}button.button{display:inline-block;padding:0.4065em 1.2195em 0.4065em;font-size:0.813em;font-weight:bold;line-height:1;color:#252525;text-align:center;text-shadow:0 1px 1px rgba(255,255,255,0.75);cursor:pointer;background-color:#e6e6e6;background-image:-moz-linear-gradient(top,#f0f0f0,#e6e6e6);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#f0f0f0),color-stop(100%,#e6e6e6));background-image:-ms-linear-gradient(top,#f0f0f0,#e6e6e6);background-image:linear-gradient(#f0f0f0,#e6e6e6);background-image:-webkit-linear-gradient(top,#f0f0f0,#e6e6e6);border:1px #c9c9c9 solid;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-ms-filter:\"progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0f0f0',endColorstr='#e6e6e6',GradientType=0)\";filter:progid:dximagetransform.microsoft.gradient(startColorstr='#f0f0f0',endColorstr='#e6e6e6',GradientType=0)}button.button:hover{background-color:#f0f0f0;background-image:-moz-linear-gradient(top,#f8f8f8,#f0f0f0);background-image:-ms-linear-gradient(top,#f8f8f8,#f0f0f0);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#f8f8f8),color-stop(100%,#f0f0f0));background-image:-webkit-linear-gradient(top,#f8f8f8,#f0f0f0);background-image:linear-gradient(#f8f8f8,#f0f0f0);border-color:#c9c9c9;-ms-filter:\"progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8',endColorstr='#f0f0f0',GradientType=0)\";filter:progid:dximagetransform.microsoft.gradient(startColorstr='#f8f8f8',endColorstr='#f0f0f0',GradientType=0)}button.button:active,button.button.down{background-color:#d8d8d8;background-image:-moz-linear-gradient(top,#d3d3d3,#d8d8d8);background-image:-ms-linear-gradient(top,#d3d3d3,#d8d8d8);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#d3d3d3),color-stop(100%,#d8d8d8));background-image:-webkit-linear-gradient(top,#d3d3d3,#d8d8d8);background-image:linear-gradient(#d3d3d3,#d8d8d8);border-color:#c9c9c9;-ms-filter:\"progid:DXImageTransform.Microsoft.gradient(startColorstr='#d3d3d3',endColorstr='#d8d8d8',GradientType=0)\";filter:progid:dximagetransform.microsoft.gradient(startColorstr='#d3d3d3',endColorstr='#d8d8d8',GradientType=0)}button.button:disabled,button.button:disabled.hover,button.button.disabled,button.button.disabled:hover{color:#c9c9c9;cursor:default;background-color:#f0f0f0;background-image:-moz-linear-gradient(top,#f0f0f0,#f0f0f0);background-image:-ms-linear-gradient(top,#f0f0f0,#f0f0f0);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#f0f0f0),color-stop(100%,#f0f0f0));background-image:linear-gradient(#f0f0f0,#f0f0f0);background-image:-webkit-linear-gradient(top,#f0f0f0,#f0f0f0);border-color:#e3e3e3;-ms-filter:\"progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0f0f0',endColorstr='#f0f0f0',GradientType=0)\";filter:progid:dximagetransform.microsoft.gradient(startColorstr='#f0f0f0',endColorstr='#f0f0f0',GradientType=0)}button.button.blue{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#3366bb;background-image:-ms-linear-gradient(top,#3670c8,#3366bb);background-image:-moz-linear-gradient(top,#3670c8,#3366bb);background-image:linear-gradient(#3670c8,#3366bb);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#3670c8),color-stop(100%,#3366bb));background-image:-webkit-linear-gradient(top,#3670c8,#3366bb);border:1px #33589f solid;-ms-filter:\"progid:DXImageTransform.Microsoft.gradient(startColorstr='#3670c8',endColorstr='#3366bb',GradientType=0)\";filter:progid:dximagetransform.microsoft.gradient(startColorstr='#3670c8',endColorstr='#3366bb',GradientType=0)}button.button.blue:hover{background-color:#3f77d7;background-image:-moz-linear-gradient(top,#4c84da,#3f77d7);background-image:-ms-linear-gradient(top,#4c84da,#3f77d7);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#4c84da),color-stop(100%,#3f77d7));background-image:-webkit-linear-gradient(top,#4c84da,#3f77d7);background-image:linear-gradient(#4c84da,#3f77d7);-ms-filter:\"progid:DXImageTransform.Microsoft.gradient(startColorstr='#4c84da',endColorstr='#3f77d7',GradientType=0)\";filter:progid:dximagetransform.microsoft.gradient(startColorstr='#4c84da',endColorstr='#3f77d7',GradientType=0)}button.button.blue:active{background-color:#2a549c;background-image:-moz-linear-gradient(top,#2d5ea9,#2a549c);background-image:-ms-linear-gradient(top,#2d5ea9,#2a549c);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#2d5ea9),color-stop(100%,#2a549c));background-image:-webkit-linear-gradient(top,#2d5ea9,#2a549c);background-image:linear-gradient(#2d5ea9,#2a549c);-ms-filter:\"progid:DXImageTransform.Microsoft.gradient(startColorstr='#2d5ea9',endColorstr='#2a549c',GradientType=0)\";filter:progid:dximagetransform.microsoft.gradient(startColorstr='#2d5ea9',endColorstr='#2a549c',GradientType=0)}button.button.blue:disabled,button.button.blue:disabled.hover,button.button.blue.disabled,button.button.blue.disabled:hover{color:white;text-shadow:none;cursor:default;background-color:#7297d7;background-image:-moz-linear-gradient(top,#7297d7,#7297d7);background-image:-ms-linear-gradient(top,#7297d7,#7297d7);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#7297d7),color-stop(100%,#7297d7));background-image:-webkit-linear-gradient(top,#7297d7,#7297d7);background-image:linear-gradient(#7297d7,#7297d7);border-color:#5e89d1;-ms-filter:\"progid:DXImageTransform.Microsoft.gradient(startColorstr='#7297d7',endColorstr='#7297d7',GradientType=0)\";filter:progid:dximagetransform.microsoft.gradient(startColorstr='#7297d7',endColorstr='#7297d7',GradientType=0)}button.button.green{color:#ffffff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#008740;background-image:-ms-linear-gradient(top,#00974b,#008740);background-image:-moz-linear-gradient(top,#00974b,#008740);background-image:linear-gradient(#00974b,#008740);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#00974b),color-stop(100%,#008740));background-image:-webkit-linear-gradient(top,#00974b,#008740);border:1px #0f9b3b solid;-ms-filter:\"progid:DXImageTransform.Microsoft.gradient(startColorstr='#00974b',endColorstr='#008740',GradientType=0)\";filter:progid:dximagetransform.microsoft.gradient(startColorstr='#00974b',endColorstr='#008740',GradientType=0)}button.button.green:hover{background-color:#119750;background-image:-moz-linear-gradient(top,#10a65b,#119750);background-image:-ms-linear-gradient(top,#10a65b,#119750);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#10a65b),color-stop(100%,#119750));background-image:-webkit-linear-gradient(top,#10a65b,#119750);background-image:linear-gradient(#10a65b,#119750);-ms-filter:\"progid:DXImageTransform.Microsoft.gradient(startColorstr='#10a65b',endColorstr='#119750',GradientType=0)\";filter:progid:dximagetransform.microsoft.gradient(startColorstr='#10a65b',endColorstr='#119750',GradientType=0)}button.button.green:active{background-color:#007236;background-image:-moz-linear-gradient(top,#007236,#007236);background-image:-ms-linear-gradient(top,#007236,#007236);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#007236),color-stop(100%,#007236));background-image:-webkit-linear-gradient(top,#007236,#007236);background-image:linear-gradient(#007236,#007236);-ms-filter:\"progid:DXImageTransform.Microsoft.gradient(startColorstr='#007236',endColorstr='#007236',GradientType=0)\";filter:progid:dximagetransform.microsoft.gradient(startColorstr='#007236',endColorstr='#007236',GradientType=0)}button.button.green:disabled,button.button.green:disabled.hover,button.button.green.disabled,button.button.green.disabled:hover{color:white;text-shadow:none;cursor:default;background-color:#2ca368;background-image:-moz-linear-gradient(top,#2ca368,#2ca368);background-image:-ms-linear-gradient(top,#2ca368,#2ca368);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#2ca368),color-stop(100%,#2ca368));background-image:-webkit-linear-gradient(top,#2ca368,#2ca368);background-image:linear-gradient(#2ca368,#2ca368);border-color:#278f5b;-ms-filter:\"progid:DXImageTransform.Microsoft.gradient(startColorstr='#2ca368',endColorstr='#2ca368',GradientType=0)\";filter:progid:dximagetransform.microsoft.gradient(startColorstr='#2ca368',endColorstr='#2ca368',GradientType=0)}\n/* cache key: enwiki:resourceloader:filter:minify-css:7:2a41ab77500958be585e363c1115f6a9 */" ]},{});mw.loader.implement("ext.uls.interface",function(){(function($,mw){'use strict';function displaySettings(){var $displaySettingsTitle,displaySettingsText,$displaySettings;displaySettingsText=$.i18n('ext-uls-display-settings-desc');$displaySettingsTitle=$('
').addClass('settings-title').attr('title',displaySettingsText);$displaySettings=$('
').addClass('display-settings-block').prop('id','display-settings-block').append($displaySettingsTitle.i18n());return $displaySettings;}function inputSettings(){var $inputSettingsTitle,inputSettingsText,$inputSettings;inputSettingsText=$.i18n('ext-uls-input-settings-desc');$inputSettingsTitle=$('
').addClass('settings-title').attr('title',inputSettingsText);$inputSettings=$('
').addClass('input-settings-block').prop('id','input-settings-block').append($inputSettingsTitle.i18n());return $inputSettings;}function addDisplaySettings(uls){var $displaySettings=displaySettings();uls.$menu.find('#settings-block').append($displaySettings);$displaySettings.on('click',function(){var languagesettings=$displaySettings.data('languagesettings'),displaySettingsOptions={defaultModule:'display'},ulsPosition=mw.config.get('wgULSPosition'),anonMode=(mw.user.isAnon()&&!mw.config.get('wgULSAnonCanChangeLanguage'));if(!languagesettings){if(ulsPosition==='personal'&&!anonMode){displaySettingsOptions.onClose=function(){uls.show();};}$.extend(displaySettingsOptions,uls.position());mw.loader.using(mw.uls.languageSettingsModules,function(){$displaySettings.languagesettings(displaySettingsOptions).click();});}mw.hook('mw.uls.settings.open').fire('uls');uls.hide();});}function addInputSettings(uls){var $inputSettings=inputSettings();uls.$menu.find('#settings-block').append($inputSettings);$inputSettings.on('click',function(){var position=uls.position(),languagesettings=$inputSettings.data('languagesettings');if(!languagesettings){mw.loader.using(mw .uls.languageSettingsModules,function(){$inputSettings.languagesettings({defaultModule:'input',onClose:function(){uls.show();},top:position.top,left:position.left}).click();});}mw.hook('mw.uls.settings.open').fire('uls');uls.hide();});}function addAccessibilityFeatures($target){$target.attr({tabIndex:0,role:'button','aria-haspopup':true});$target.click(function(){$(this).css('outline','none');});$target.blur(function(){$(this).css('outline','');});$target.keydown(function(event){if(event.keyCode===13){$(this).click();event.preventDefault();event.stopPropagation();}});}function showULSTooltip(){var ulsPosition=mw.config.get('wgULSPosition'),currentLang=mw.config.get('wgUserLanguage'),previousLang,$ulsTrigger,anonMode,rtlPage=$('body').hasClass('rtl'),tipsyGravity={personal:'n',interlanguage:rtlPage?'e':'w'},previousLanguages=mw.uls.getPreviousLanguages()||[];previousLang=previousLanguages.slice(-1)[0];$ulsTrigger=(ulsPosition==='interlanguage')?$('.uls-settings-trigger'):$( '.uls-trigger');if(previousLang===currentLang){$ulsTrigger.tipsy({gravity:rtlPage?'e':'w'});return;}previousLanguages.push(currentLang);mw.uls.setPreviousLanguages(previousLanguages);anonMode=(mw.user.isAnon()&&!mw.config.get('wgULSAnonCanChangeLanguage'));if(anonMode||!previousLang||!$.uls.data.languages[previousLang]){return;}$ulsTrigger.tipsy({gravity:tipsyGravity[ulsPosition],delayOut:3000,html:true,fade:true,trigger:'manual',title:function(){var link;link=$('').text($.uls.data.getAutonym(previousLang)).attr({href:'#','class':'uls-prevlang-link',lang:previousLang,dir:$.uls.data.getDir(previousLang)});link=$('
').html(link).html();return $.i18n('ext-uls-undo-language-tooltip-text',link);}});function showTipsy(timeout){var tipsyTimer=0;$ulsTrigger.tipsy('show');$('.tipsy').on('mouseover',function(){window.clearTimeout(tipsyTimer);});$('.tipsy').on('mouseout',function(){tipsyTimer=window.setTimeout(function(){hideTipsy();},timeout);});$('a.uls-prevlang-link').on( 'click.ulstipsy',function(event){var deferred=$.Deferred();event.preventDefault();deferred.done(function(){mw.uls.changeLanguage(event.target.lang);});mw.hook('mw.uls.language.revert').fire(deferred);window.setTimeout(function(){deferred.resolve();},mw.config.get('wgULSEventLogging')*500);});tipsyTimer=window.setTimeout(function(){hideTipsy();},timeout);}function hideTipsy(){$ulsTrigger.tipsy('hide');}window.setTimeout(function(){showTipsy(6000);},500);$ulsTrigger.on('mouseover',function(){if(!$('.uls-menu:visible').length){showTipsy(3000);}});$ulsTrigger.on('click',function(){hideTipsy();});}$(document).ready(function(){mw.uls.init(function(){var $triggers,$pLang,$ulsTrigger=$('.uls-trigger'),rtlPage=$('body').hasClass('rtl'),anonMode=(mw.user.isAnon()&&!mw.config.get('wgULSAnonCanChangeLanguage')),ulsPosition=mw.config.get('wgULSPosition');if(ulsPosition==='interlanguage'){$pLang=$('#p-lang');$ulsTrigger=$('').addClass('uls-settings-trigger').attr('title',$.i18n( 'ext-uls-language-settings-title'));$pLang.show().prepend($ulsTrigger);$ulsTrigger=$('.uls-settings-trigger');$pLang.find('.uls-p-lang-dummy').remove();if(!$pLang.find('div ul').children().length){$pLang.find('h3').text(mw.msg('uls-plang-title-languages'));if(mw.config.get('skin')==='monobook'){$pLang.find('div.pBody').remove();}}$ulsTrigger.attr({title:$.i18n('ext-uls-select-language-settings-icon-tooltip')});$ulsTrigger.on('click',function(e,eventParams){var languagesettings=$ulsTrigger.data('languagesettings'),languageSettingsOptions;if(languagesettings){if(!languagesettings.shown){mw.hook('mw.uls.settings.open').fire(eventParams&&eventParams.source||'interlanguage');}}else{languageSettingsOptions={defaultModule:'display',onVisible:function(){var topRowHeight,caretHeight,caretWidth,$caretBefore=$('').addClass('caret-before'),$caretAfter=$('').addClass('caret-after'),ulsTriggerWidth=this.$element.width(),ulsTriggerOffset=this.$element.offset();this.$window.addClass( 'callout');this.$window.prepend($caretBefore,$caretAfter);if(rtlPage){caretWidth=parseInt($caretBefore.css('border-left-width'),10);this.left=ulsTriggerOffset.left-this.$window.width()-caretWidth;}else{caretWidth=parseInt($caretBefore.css('border-right-width'),10);this.left=ulsTriggerOffset.left+ulsTriggerWidth+caretWidth;}topRowHeight=this.$window.find('.row').height();caretHeight=parseInt($caretBefore.css('top'),10);this.top=ulsTriggerOffset.top-topRowHeight-caretHeight/2;this.position();}};mw.loader.using(mw.uls.languageSettingsModules,function(){$ulsTrigger.languagesettings(languageSettingsOptions).click();});e.stopPropagation();}});}else if(anonMode){$ulsTrigger.on('click',function(e,eventParams){var languagesettings=$ulsTrigger.data('languagesettings');if(languagesettings){if(!languagesettings.shown){mw.hook('mw.uls.settings.open').fire(eventParams&&eventParams.source||'personal');}}else{mw.loader.using(mw.uls.languageSettingsModules,function(){$ulsTrigger.languagesettings(); $ulsTrigger.trigger('click',eventParams);});e.stopPropagation();}});}else{$ulsTrigger.on('click',function(e,eventParams){var uls=$ulsTrigger.data('uls');if(uls){if(!uls.shown){mw.hook('mw.uls.settings.open').fire(eventParams&&eventParams.source||'personal');}}else{$ulsTrigger.uls({quickList:function(){return mw.uls.getFrequentLanguageList();},onReady:function(){var uls=this;mw.loader.using(mw.uls.languageSettingsModules,function(){addDisplaySettings(uls);addInputSettings(uls);});},onSelect:function(language){mw.uls.changeLanguage(language);},onVisible:function(){mw.uls.addEventLoggingTriggers();}}).trigger('click',eventParams);e.stopPropagation();}});}$triggers=$('.uls-settings-trigger, .uls-trigger');addAccessibilityFeatures($triggers);$('#uls-preferences-link').text($.i18n('ext-uls-language-settings-preferences-link')).click(function(){$ulsTrigger.trigger('click',{source:'preferences'});return false;});showULSTooltip();});});}(jQuery,mediaWiki));;},{},{"uls-plang-title-languages": "Languages"});mw.loader.implement("ext.uls.languagenames",function(){mw.config.set("wgULSLanguages",{"ab":"Abkhazian","ace":"Achinese","af":"Afrikaans","ak":"Akan","aln":"Gheg Albanian","am":"Amharic","an":"Aragonese","ang":"Old English","anp":"Angika","ar":"Arabic","arc":"Aramaic","arn":"Mapuche","ary":"Moroccan Spoken Arabic","arz":"Egyptian Spoken Arabic","as":"Assamese","ast":"Asturian","av":"Avaric","avk":"Kotava","ay":"Aymara","az":"Azerbaijani","azb":"South Azerbaijani","ba":"Bashkir","bar":"Bavarian","bbc":"Batak Toba","bbc-latn":"Batak Toba","bcc":"Southern Balochi","bcl":"Bikol Central","be":"Belarusian","be-tarask":"Belarusian (Taraškievica orthography)","bg":"Bulgarian","bh":"Bihari","bho":"Bhojpuri","bi":"Bislama","bjn":"Banjar","bm":"Bambara","bn":"Bengali","bo":"Tibetan","bpy":"Bishnupria Manipuri","bqi":"Bakhtiari","br":"Breton","brh":"Brahui","bs":"Bosnian","bug":"Buginese","bxr":"буряад","ca":"Catalan","cbk-zam":"Chavacano de Zamboanga","cdo":"Min Dong Chinese" ,"ce":"Chechen","ceb":"Cebuano","ch":"Chamorro","chr":"Cherokee","ckb":"Sorani Kurdish","co":"Corsican","cps":"Capiznon","crh":"Crimean Turkish","crh-latn":"Crimean Turkish (Latin script)","crh-cyrl":"Crimean Turkish (Cyrillic script)","cs":"Czech","csb":"Kashubian","cu":"Church Slavic","cv":"Chuvash","cy":"Welsh","da":"Danish","de":"German","de-at":"Austrian German","de-ch":"Swiss High German","de-formal":"German (formal address)","diq":"Zazaki","dsb":"Lower Sorbian","dtp":"Central Dusun","dv":"Divehi","dz":"Dzongkha","ee":"Ewe","egl":"Emiliàn","el":"Greek","eml":"Emiliano-Romagnolo","en":"English","en-ca":"Canadian English","en-gb":"British English","eo":"Esperanto","es":"Spanish","et":"Estonian","eu":"Basque","ext":"Extremaduran","fa":"Persian","ff":"Fulah","fi":"Finnish","fit":"meänkieli","fj":"Fijian","fo":"Faroese","fr":"French","frc":"Cajun French","frp":"Franco-Provençal","frr":"Northern Frisian","fur":"Friulian","fy":"Western Frisian","ga":"Irish","gag":"Gagauz","gan":"Gan" ,"gan-hans":"Simplified Gan script","gan-hant":"Traditional Gan script","gd":"Scottish Gaelic","gl":"Galician","glk":"Gilaki","gn":"Guarani","got":"Gothic","grc":"Ancient Greek","gsw":"Swiss German","gu":"Gujarati","gv":"Manx","ha":"Hausa","hak":"Hakka","haw":"Hawaiian","he":"Hebrew","hi":"Hindi","hif":"Fiji Hindi","hif-latn":"Fiji Hindi (Latin script)","hil":"Hiligaynon","hr":"Croatian","hsb":"Upper Sorbian","ht":"Haitian","hu":"Hungarian","hy":"Armenian","ia":"Interlingua","id":"Indonesian","ie":"Interlingue","ig":"Igbo","ii":"Sichuan Yi","ik":"Inupiaq","ike-cans":"Eastern Canadian (Aboriginal syllabics)","ike-latn":"Eastern Canadian (Latin script)","ilo":"Iloko","inh":"Ingush","io":"Ido","is":"Icelandic","it":"Italian","iu":"Inuktitut","ja":"Japanese","jam":"Jamaican Creole English","jbo":"Lojban","jut":"Jutish","jv":"Javanese","ka":"Georgian","kaa":"Kara-Kalpak","kab":"Kabyle","kbd":"Kabardian","kbd-cyrl":"Адыгэбзэ","kg":"Kongo","khw":"Khowar","kiu":"Kirmanjki","kk": "Kazakh","kk-arab":"Kazakh (Arabic script)","kk-cyrl":"Kazakh (Cyrillic script)","kk-latn":"Kazakh (Latin script)","kk-cn":"Kazakh (China)","kk-kz":"Kazakh (Kazakhstan)","kk-tr":"Kazakh (Turkey)","kl":"Kalaallisut","km":"Khmer","kn":"Kannada","ko":"Korean","ko-kp":"한국어 (조선)","koi":"Komi-Permyak","krc":"Karachay-Balkar","kri":"Krio","krj":"Kinaray-a","ks":"Kashmiri","ks-arab":"Kashmiri (Arabic script)","ks-deva":"Kashmiri (Devanagari script)","ksh":"Colognian","ku":"Kurdish","ku-latn":"Kurdish (Latin script)","ku-arab":"كوردي (عەرەبی)‏","kv":"Komi","kw":"Cornish","ky":"Kyrgyz","la":"Latin","lad":"Ladino","lb":"Luxembourgish","lbe":"лакку","lez":"Lezghian","lfn":"Lingua Franca Nova","lg":"Ganda","li":"Limburgish","lij":"Ligure","liv":"Līvõ kēļ","lmo":"lumbaart","ln":"Lingala","lo":"Lao","loz":"Lozi","lt":"Lithuanian","ltg":"Latgalian","lus":"Mizo","lv":"Latvian","lzh":"Literary Chinese","lzz":"Lazuri","mai":"Maithili","map-bms":"Basa Banyumasan","mdf": "Moksha","mg":"Malagasy","mhr":"Eastern Mari","mi":"Maori","min":"Minangkabau","mk":"Macedonian","ml":"Malayalam","mn":"Mongolian","mo":"Moldavian","mr":"Marathi","mrj":"Hill Mari","ms":"Malay","mt":"Maltese","mwl":"Mirandese","my":"Burmese","myv":"Erzya","mzn":"Mazanderani","na":"Nauru","nah":"Nahuatl","nan":"Min Nan Chinese","nap":"Neapolitan","nb":"Norwegian Bokmål","nds":"Low German","nds-nl":"Low Saxon (Netherlands)","ne":"Nepali","new":"Newari","niu":"Niuean","nl":"Dutch","nl-informal":"Nederlands (informeel)‎","nn":"Norwegian Nynorsk","nov":"Novial","nso":"Northern Sotho","nv":"Navajo","ny":"Nyanja","oc":"Occitan","om":"Oromo","or":"Oriya","os":"Ossetic","pa":"Punjabi","pag":"Pangasinan","pam":"Pampanga","pap":"Papiamento","pcd":"Picard","pdc":"Deitsch","pdt":"Plautdietsch","pfl":"Pälzisch","pi":"Pali","pih":"Norfuk / Pitkern","pl":"Polish","pms":"Piedmontese","pnb":"Western Punjabi","pnt":"Pontic","prg":"Prussian","ps":"Pashto","pt":"Portuguese","pt-br": "Brazilian Portuguese","qu":"Quechua","qug":"Runa shimi","rgn":"Romagnol","rif":"Tarifit","rm":"Romansh","rmy":"Romani","ro":"Romanian","roa-tara":"tarandíne","ru":"Russian","rue":"Rusyn","rup":"Aromanian","ruq":"Megleno-Romanian","ruq-cyrl":"Megleno-Romanian (Cyrillic script)","ruq-latn":"Megleno-Romanian (Latin script)","sa":"Sanskrit","sah":"Sakha","sat":"Santali","sc":"Sardinian","scn":"Sicilian","sco":"Scots","sd":"Sindhi","sdc":"Sassaresu","se":"Northern Sami","sei":"Cmique Itom","sg":"Sango","sgs":"Samogitian","sh":"Serbo-Croatian","shi":"Tachelhit","si":"Sinhala","sk":"Slovak","sl":"Slovenian","sli":"Lower Silesian","sm":"Samoan","sma":"Southern Sami","sn":"Shona","so":"Somali","sq":"Albanian","sr":"Serbian","sr-ec":"Serbian (Cyrillic script)","sr-el":"Serbian (Latin script)","srn":"Sranan Tongo","ss":"Swati","st":"Southern Sotho","stq":"Seeltersk","su":"Sundanese","sv":"Swedish","sw":"Swahili","szl":"Silesian","ta":"Tamil","tcy":"Tulu","te":"Telugu","tet":"Tetum","tg":"Tajik" ,"tg-cyrl":"Tajik (Cyrillic script)","tg-latn":"Tajik (Latin script)","th":"Thai","ti":"Tigrinya","tk":"Turkmen","tl":"Tagalog","tly":"толышә зывон","tn":"Tswana","to":"Tongan","tokipona":"Toki Pona","tpi":"Tok Pisin","tr":"Turkish","tru":"Turoyo","ts":"Tsonga","tt":"Tatar","tt-cyrl":"Tatar (Cyrillic script)","tt-latn":"Tatar (Latin script)","ty":"Tahitian","tyv":"Tuvinian","udm":"Udmurt","ug":"Uyghur","ug-arab":"Uyghur (Arabic script)","ug-latn":"Uyghur (Latin script)","uk":"Ukrainian","ur":"Urdu","uz":"Uzbek","ve":"Venda","vec":"vèneto","vep":"Veps","vi":"Vietnamese","vls":"West-Vlams","vmf":"Upper Franconian","vo":"Volapük","vot":"Votic","vro":"Võro","wa":"Walloon","war":"Waray","wo":"Wolof","wuu":"Wu","xal":"Kalmyk","xh":"Xhosa","xmf":"Mingrelian","yi":"Yiddish","yo":"Yoruba","yue":"Cantonese","za":"Zhuang","zea":"Zeeuws","zh":"Chinese","zh-cn":"Chinese (China)","zh-hans":"Simplified Chinese","zh-hant":"Traditional Chinese","zh-hk":"Chinese (Hong Kong)","zh-mo": "中文(澳門)‎","zh-my":"中文(马来西亚)‎","zh-sg":"Chinese (Singapore)","zh-tw":"Chinese (Taiwan)","zu":"Zulu"});},{},{});mw.loader.implement("ext.uls.preferences",function(){(function($,mw,undefined){'use strict';var ULSPreferences,cachedOptionsToken=null;function saveOptionsWithToken(params,ok,err){if(cachedOptionsToken===null){return getOptionsToken(function(token){params.token=token;new mw.Api().post(params,ok,err);},err);}else{params.token=cachedOptionsToken;return new mw.Api().post(params,{ok:ok,err:function(code,result){if(code==='badtoken'){cachedOptionsToken=null;saveOptionsWithToken(params,ok,err);}else{err(code,result);}}});}}function getOptionsToken(tokenCallback,err){return new mw.Api().get({action:'tokens',type:'options'},{ok:function(data){var token;if(data.tokens&&data.tokens.optionstoken){token=data.tokens.optionstoken;cachedOptionsToken=token;tokenCallback(token);}else{err('token-missing',data);}},err:err,jsonp:false});}ULSPreferences=function(){ this.preferenceName='uls-preferences';this.username=mw.user.getName();this.isAnon=mw.user.isAnon();this.preferences=null;this.init();};ULSPreferences.prototype={init:function(){if(this.isAnon){this.preferences=$.jStorage.get(this.preferenceName);}else{var options=mw.user.options.get(this.preferenceName);this.preferences=$.parseJSON(options);}this.preferences=this.preferences||{};},set:function(key,value){this.preferences[key]=value;},get:function(key){return this.preferences[key];},save:function(callback){var ulsPreferences=this;callback=callback||$.noop;if(this.isAnon){$.jStorage.set(this.preferenceName,this.preferences);callback.call(this,true);}else{saveOptionsWithToken({action:'options',optionname:ulsPreferences.preferenceName,optionvalue:$.toJSON(ulsPreferences.preferences)},function(){callback.call(this,true);},function(){callback.call(this,false);});}}};mw.uls=mw.uls||{};mw.uls.preferences=function(){var data=$('body').data('preferences');if(!data){$('body').data('preferences',( data=new ULSPreferences()));}return data;};}(jQuery,mediaWiki));;},{},{});mw.loader.implement("ext.uls.webfonts",function(){(function($,mw,undefined){'use strict';var mediawikiFontRepository,ulsPreferences;mw.webfonts=mw.webfonts||{};ulsPreferences=mw.uls.preferences();mw.webfonts.preferences={registry:{fonts:{}},setFont:function(language,font){this.registry.fonts[language]=font;},getFont:function(language){return this.registry.fonts[language];},save:function(callback){ulsPreferences.set('webfonts',this.registry);ulsPreferences.save(callback);},load:function(){mw.webfonts.preferences.registry=$.extend(this.registry,ulsPreferences.get('webfonts'));}};mediawikiFontRepository=$.webfonts.repository;mediawikiFontRepository.base=mw.config.get('wgExtensionAssetsPath')+'/UniversalLanguageSelector/data/fontrepo/fonts/';mw.webfonts.setup=function(){$.fn.webfonts.defaults=$.extend($.fn.webfonts.defaults,{fontSelector:function(repository,language){var font;font=mw.webfonts.preferences.getFont( language);if(!font){font=repository.defaultFont(language);}if(font==='system'){font=null;}return font;},exclude:(function(){var excludes=$.fn.webfonts.defaults.exclude;if(mw.user.options.get('editfont')!=='default'){excludes=(excludes)?excludes+',textarea':'textarea';}return excludes;}())});$('body').webfonts();};$(document).ready(function(){mw.uls.init(function(){$.extend($.fn.webfonts.defaults,{repository:mediawikiFontRepository,fontStack:$('body').css('font-family').split(/, /g),exclude:mw.config.get('wgULSNoWebfontsSelectors').join(', ')});mw.webfonts.preferences.load();mw.webfonts.setup();});});}(jQuery,mediaWiki));;},{},{});mw.loader.implement("ext.uls.webfonts.repository",function(){(function($){$.webfonts=$.webfonts||{};$.webfonts.repository={"base":"..\/data\/fontrepo\/fonts\/","languages":{"af":["system","OpenDyslexic"],"ahr":["Lohit Marathi"],"akk":["Akkadian"],"am":["AbyssinicaSIL"],"ang":["system","Junicode"],"ar":["Amiri"],"arb":["Amiri"],"arc":["Estrangelo Edessa", "East Syriac Adiabene","SertoUrhoy"],"as":["system","Lohit Assamese"],"bh":["Lohit Devanagari"],"bho":["Lohit Devanagari"],"bk":["system","OpenDyslexic"],"bn":["Siyam Rupali","Lohit Bengali"],"bo":["Jomolhari"],"bpy":["Siyam Rupali","Lohit Bengali"],"bug":["Saweri"],"ca":["system","OpenDyslexic"],"cdo":["CharisSIL"],"cr":["OskiEast"],"cy":["system","OpenDyslexic"],"da":["system","OpenDyslexic"],"de":["system","OpenDyslexic"],"dv":["FreeFont-Thaana"],"dz":["Jomolhari"],"en":["system","OpenDyslexic"],"es":["system","OpenDyslexic"],"et":["system","OpenDyslexic"],"fa":["system","Iranian Sans","Nazli","Amiri"],"fi":["system","OpenDyslexic"],"fo":["system","OpenDyslexic"],"fr":["system","OpenDyslexic"],"fy":["system","OpenDyslexic"],"ga":["system","OpenDyslexic"],"gd":["system","OpenDyslexic"],"gl":["system","OpenDyslexic"],"gom":["Lohit Devanagari"],"grc":["system","GentiumPlus"],"gu":["Lohit Gujarati"],"hbo":["Taamey Frank CLM","Alef"],"he":["system","Alef","Miriam CLM","Taamey Frank CLM"] ,"hi":["Lohit Devanagari"],"hu":["system","OpenDyslexic"],"id":["system","OpenDyslexic"],"ii":["Nuosu SIL"],"is":["system","OpenDyslexic"],"it":["system","OpenDyslexic"],"iu":["system","OskiEast"],"jv":["system","Tuladha Jejeg"],"jv-java":["Tuladha Jejeg"],"km":["KhmerOSbattambang","KhmerOS","KhmerOSbokor","KhmerOSfasthand","KhmerOSfreehand","KhmerOSmuol","KhmerOSmuollight","KhmerOSmuolpali","KhmerOSsiemreap"],"kn":["Lohit Kannada","Gubbi"],"kok":["Lohit Devanagari"],"lb":["system","OpenDyslexic"],"li":["system","OpenDyslexic"],"lo":["Phetsarath"],"mai":["Lohit Devanagari"],"mak":["Saweri"],"mi":["system","OpenDyslexic"],"ml":["system","AnjaliOldLipi","Meera"],"mr":["Lohit Marathi"],"ms":["system","OpenDyslexic"],"my":["TharLon","Myanmar3","Padauk"],"nan":["Doulos SIL","CharisSIL"],"nb":["system","OpenDyslexic"],"ne":["Lohit Nepali","Madan"],"nl":["system","OpenDyslexic"],"oc":["system","OpenDyslexic"],"or":["Lohit Oriya","Utkal"],"pa":["Lohit Punjabi","Saab"],"pal":["Shapour"],"peo":[ "Xerxes"],"pt":["system","OpenDyslexic"],"sa":["Lohit Devanagari"],"saz":["Pagul"],"si":["system","lklug"],"sq":["system","OpenDyslexic"],"sux":["Akkadian"],"sv":["system","OpenDyslexic"],"sw":["system","OpenDyslexic"],"syc":["Estrangelo Edessa","East Syriac Adiabene","SertoUrhoy"],"ta":["system","Lohit Tamil","Lohit Tamil Classical","Thendral","Thenee"],"tcy":["Lohit Kannada","Gubbi"],"te":["Lohit Telugu"],"ti":["AbyssinicaSIL"],"tl":["system","OpenDyslexic"],"tr":["system","OpenDyslexic"],"ur":["system","NafeesWeb"],"wa":["system","OpenDyslexic"],"yi":["system","Alef"]},"fonts":{"AbyssinicaSIL":{"version":"1.200","license":"OFL 1.1","eot":"AbyssinicaSIL\/AbyssinicaSIL-R.eot","ttf":"AbyssinicaSIL\/AbyssinicaSIL-R.ttf","woff":"AbyssinicaSIL\/AbyssinicaSIL-R.woff"},"Akkadian":{"version":"2.56","license":"George-Douros","eot":"Akkadian\/Akkadian.eot","ttf":"Akkadian\/Akkadian.ttf","woff":"Akkadian\/Akkadian.woff"},"Alef":{"version":"1.0","license":"OFL 1.1","ttf":"Alef\/Alef-Regular.ttf" ,"eot":"Alef\/Alef-Regular.eot","woff":"Alef\/Alef-Regular.woff","variants":{"bold":"Alef Bold"}},"Alef Bold":{"version":"1.0","license":"OFL 1.1","fontweight":"bold","ttf":"Alef\/Alef-Bold.ttf","eot":"Alef\/Alef-Bold.eot","woff":"Alef\/Alef-Bold.woff"},"Amiri":{"version":"1.0.2","license":"OFL 1.1","ttf":"amiri\/amiri-regular.ttf","eot":"amiri\/amiri-regular.eot","woff":"amiri\/amiri-regular.woff","variants":{"bold":"Amiri Bold","bolditalic":"Amiri Bold Italic","italic":"Amiri Italic"}},"Amiri Bold":{"version":"1.0.2","license":"OFL 1.1","fontweight":"bold","ttf":"amiri\/amiri-bold.ttf","eot":"amiri\/amiri-bold.eot","woff":"amiri\/amiri-bold.woff"},"Amiri Bold Italic":{"version":"1.0.2","license":"OFL 1.1","fontweight":"bold","fontstyle":"italic","ttf":"amiri\/amiri-boldslanted.ttf","eot":"amiri\/amiri-boldslanted.eot","woff":"amiri\/amiri-boldslanted.woff"},"Amiri Italic":{"version":"1.0.2","license":"OFL 1.1","fontstyle":"italic","ttf":"amiri\/amiri-slanted.ttf","eot": "amiri\/amiri-slanted.eot","woff":"amiri\/amiri-slanted.woff"},"AnjaliOldLipi":{"version":".0.730","license":"OFL 1.1","eot":"AnjaliOldLipi\/AnjaliOldLipi.eot","ttf":"AnjaliOldLipi\/AnjaliOldLipi.ttf","woff":"AnjaliOldLipi\/AnjaliOldLipi.woff"},"CharisSIL":{"version":"4.011","license":"OFL 1.1","eot":"CharisSIL\/CharisSIL-R.eot","ttf":"CharisSIL\/CharisSIL-R.ttf","woff":"CharisSIL\/CharisSIL-R.woff"},"Doulos SIL":{"version":"4.112","license":"OFL 1.1","eot":"DoulosSIL\/DoulosSIL-R.eot","ttf":"DoulosSIL\/DoulosSIL-R.ttf","woff":"DoulosSIL\/DoulosSIL-R.woff"},"East Syriac Adiabene":{"version":"1.21","license":"East Syriac Adiabene License","eot":"EastSyriacAdiabene\/SyrCOMAdiabene.eot","ttf":"EastSyriacAdiabene\/SyrCOMAdiabene.ttf","woff":"EastSyriacAdiabene\/SyrCOMAdiabene.woff"},"Estrangelo Edessa":{"version":"1.21","license":"Estrangelo Edessa License","eot":"EstrangeloEdessa\/SyrCOMEdessa.eot","ttf":"EstrangeloEdessa\/SyrCOMEdessa.ttf","woff":"EstrangeloEdessa\/SyrCOMEdessa.woff"}, "FreeFont-Thaana":{"version":"1.0","license":"GPL 3","ttf":"FreeFontThana\/FreeFont-Thaana.ttf","eot":"FreeFontThana\/FreeFont-Thaana.eot","woff":"FreeFontThana\/FreeFont-Thaana.woff","variants":{"bold":"FreeFont-Thaana Bold"}},"FreeFont-Thaana Bold":{"version":"1.0","license":"GPL 3","fontweight":"bold","ttf":"FreeFontThana\/FreeFont-Thaana-Bold.ttf","eot":"FreeFontThana\/FreeFont-Thaana-Bold.eot","woff":"FreeFontThana\/FreeFont-Thaana-Bold.woff"},"GentiumPlus":{"version":"1.510","license":"OFL","ttf":"GentiumPlus\/GentiumPlus-R.ttf","eot":"GentiumPlus\/GentiumPlus-R.eot","woff":"GentiumPlus\/GentiumPlus-R.woff","variants":{"italic":"GentiumPlus Italic"}},"GentiumPlus Italic":{"version":"1.510","license":"OFL","fontstyle":"italic","ttf":"GentiumPlus\/GentiumPlus-I.ttf","eot":"GentiumPlus\/GentiumPlus-I.eot","woff":"GentiumPlus\/GentiumPlus-I.woff"},"Gubbi":{"version":"1.3","license":"GPLv3+","eot":"Gubbi\/Gubbi.eot","ttf":"Gubbi\/Gubbi.ttf","woff":"Gubbi\/Gubbi.woff"},"Iranian Sans":{ "version":"1.0","license":"IranianSans","eot":"IranianSans\/IranianSans.eot","ttf":"IranianSans\/IranianSans.ttf","woff":"IranianSans\/IranianSans.woff"},"Jomolhari":{"version":"0.003","license":"OFL 1.1","eot":"Jomolhari\/Jomolhari.eot","ttf":"Jomolhari\/Jomolhari.ttf","woff":"Jomolhari\/Jomolhari.woff"},"Junicode":{"version":"2013-01-17","license":"OFL","ttf":"Junicode\/Junicode.ttf","eot":"Junicode\/Junicode.eot","woff":"Junicode\/Junicode.woff","variants":{"bold":"Junicode Bold","bolditalic":"Junicode Bold Italic","italic":"Junicode Italic"}},"Junicode Bold":{"version":"2013-01-17","license":"OFL","fontweight":"bold","ttf":"Junicode\/Junicode-Bold.ttf","eot":"Junicode\/Junicode-Bold.eot","woff":"Junicode\/Junicode-Bold.woff"},"Junicode Bold Italic":{"version":"2013-01-17","license":"OFL","fontweight":"bold","fontstyle":"italic","ttf":"Junicode\/Junicode-BoldItalic.ttf","eot":"Junicode\/Junicode-BoldItalic.eot","woff":"Junicode\/Junicode-BoldItalic.woff"},"Junicode Italic":{ "version":"2013-01-17","license":"OFL","fontstyle":"italic","ttf":"Junicode\/Junicode-Italic.ttf","eot":"Junicode\/Junicode-Italic.eot","woff":"Junicode\/Junicode-Italic.woff"},"KhmerOS":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOS\/KhmerOS.eot","ttf":"KhmerOS\/KhmerOS.ttf","woff":"KhmerOS\/KhmerOS.woff"},"KhmerOSbattambang":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSbattambang\/KhmerOSbattambang.eot","ttf":"KhmerOSbattambang\/KhmerOSbattambang.ttf","woff":"KhmerOSbattambang\/KhmerOSbattambang.woff"},"KhmerOSbokor":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSbokor\/KhmerOSbokor.eot","ttf":"KhmerOSbokor\/KhmerOSbokor.ttf","woff":"KhmerOSbokor\/KhmerOSbokor.woff"},"KhmerOSfasthand":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSfasthand\/KhmerOSfasthand.eot","ttf":"KhmerOSfasthand\/KhmerOSfasthand.ttf","woff":"KhmerOSfasthand\/KhmerOSfasthand.woff"},"KhmerOSfreehand":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSfreehand\/KhmerOSfreehand.eot" ,"ttf":"KhmerOSfreehand\/KhmerOSfreehand.ttf","woff":"KhmerOSfreehand\/KhmerOSfreehand.woff"},"KhmerOSmuol":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSmuol\/KhmerOSmuol.eot","ttf":"KhmerOSmuol\/KhmerOSmuol.ttf","woff":"KhmerOSmuol\/KhmerOSmuol.woff"},"KhmerOSmuollight":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSmuollight\/KhmerOSmuollight.eot","ttf":"KhmerOSmuollight\/KhmerOSmuollight.ttf","woff":"KhmerOSmuollight\/KhmerOSmuollight.woff"},"KhmerOSmuolpali":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSmuolpali\/KhmerOSmuolpali.eot","ttf":"KhmerOSmuolpali\/KhmerOSmuolpali.ttf","woff":"KhmerOSmuolpali\/KhmerOSmuolpali.woff"},"KhmerOSsiemreap":{"version":"1.10","license":"LGPL 2.1+","eot":"KhmerOSsiemreap\/KhmerOSsiemreap.eot","ttf":"KhmerOSsiemreap\/KhmerOSsiemreap.ttf","woff":"KhmerOSsiemreap\/KhmerOSsiemreap.woff"},"Linux Libertine":{"version":"5.3.0","license":"OFL 1.1","ttf":"LinuxLibertine\/LinLibertine_Rah.ttf","eot": "LinuxLibertine\/LinLibertine_Rah.eot","woff":"LinuxLibertine\/LinLibertine_Rah.woff","variants":{"bold":"Linux Libertine Bold","bolditalic":"Linux Libertine Bold Italic","italic":"Linux Libertine Italic"}},"Linux Libertine Bold":{"version":"5.3.0","license":"OFL 1.1","fontweight":"bold","ttf":"LinuxLibertine\/LinLibertine_RBah.ttf","eot":"LinuxLibertine\/LinLibertine_RBah.eot","woff":"LinuxLibertine\/LinLibertine_RBah.woff"},"Linux Libertine Bold Italic":{"version":"5.3.0","license":"OFL 1.1","fontweight":"bold","fontstyle":"italic","ttf":"LinuxLibertine\/LinLibertine_RBIah.ttf","eot":"LinuxLibertine\/LinLibertine_RBIah.eot","woff":"LinuxLibertine\/LinLibertine_RBIah.woff"},"Linux Libertine Italic":{"version":"5.3.0","license":"OFL 1.1","fontstyle":"italic","ttf":"LinuxLibertine\/LinLibertine_RIah.ttf","eot":"LinuxLibertine\/LinLibertine_RIah.eot","woff":"LinuxLibertine\/LinLibertine_RIah.woff"},"Lohit Assamese":{"version":"2.5.3","license":"OFL 1.1","eot": "LohitAssamese\/Lohit-Assamese.eot","ttf":"LohitAssamese\/Lohit-Assamese.ttf","woff":"LohitAssamese\/Lohit-Assamese.woff"},"Lohit Bengali":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitBengali\/Lohit-Bengali.eot","ttf":"LohitBengali\/Lohit-Bengali.ttf","woff":"LohitBengali\/Lohit-Bengali.woff"},"Lohit Devanagari":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitDevanagari\/Lohit-Devanagari.eot","ttf":"LohitDevanagari\/Lohit-Devanagari.ttf","woff":"LohitDevanagari\/Lohit-Devanagari.woff"},"Lohit Gujarati":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitGujarati\/Lohit-Gujarati.eot","ttf":"LohitGujarati\/Lohit-Gujarati.ttf","woff":"LohitGujarati\/Lohit-Gujarati.woff"},"Lohit Kannada":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitKannada\/Lohit-Kannada.eot","ttf":"LohitKannada\/Lohit-Kannada.ttf","woff":"LohitKannada\/Lohit-Kannada.woff"},"Lohit Marathi":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitMarathi\/Lohit-Marathi.eot","ttf":"LohitMarathi\/Lohit-Marathi.ttf", "woff":"LohitMarathi\/Lohit-Marathi.woff"},"Lohit Nepali":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitNepali\/Lohit-Nepali.eot","ttf":"LohitNepali\/Lohit-Nepali.ttf","woff":"LohitNepali\/Lohit-Nepali.woff"},"Lohit Oriya":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitOriya\/Lohit-Oriya.eot","ttf":"LohitOriya\/Lohit-Oriya.ttf","woff":"LohitOriya\/Lohit-Oriya.woff"},"Lohit Punjabi":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitPunjabi\/Lohit-Punjabi.eot","ttf":"LohitPunjabi\/Lohit-Punjabi.ttf","woff":"LohitPunjabi\/Lohit-Punjabi.woff"},"Lohit Tamil":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitTamil\/Lohit-Tamil.eot","ttf":"LohitTamil\/Lohit-Tamil.ttf","woff":"LohitTamil\/Lohit-Tamil.woff"},"Lohit Tamil Classical":{"version":"2.5.3","license":"OFL 1.1","eot":"LohitTamilClassical\/Lohit-Tamil-Classical.eot","ttf":"LohitTamilClassical\/Lohit-Tamil-Classical.ttf","woff":"LohitTamilClassical\/Lohit-Tamil-Classical.woff"},"Lohit Telugu":{"version":"2.5.3","license": "OFL 1.1","eot":"LohitTelugu\/Lohit-Telugu.eot","ttf":"LohitTelugu\/Lohit-Telugu.ttf","woff":"LohitTelugu\/Lohit-Telugu.woff"},"Madan":{"version":"2","license":"GPL","eot":"madan\/madan.eot","ttf":"madan\/madan.ttf","woff":"madan\/madan.woff"},"Meera":{"version":"5.0.1","license":"GPL 3+ with exceptions","eot":"Meera\/Meera.eot","ttf":"Meera\/Meera.ttf","woff":"Meera\/Meera.woff"},"Miriam CLM":{"version":"0.105","license":"GPL2+","eot":"MiriamCLM\/MiriamCLM-Book.eot","ttf":"MiriamCLM\/MiriamCLM-Book.ttf","woff":"MiriamCLM\/MiriamCLM-Book.woff"},"Myanmar3":{"version":"3.0","license":"LGPL 2.1+","eot":"Myanmar3\/Myanmar3.eot","ttf":"Myanmar3\/Myanmar3.ttf","woff":"Myanmar3\/Myanmar3.woff"},"NafeesWeb":{"version":"1.2","license":"GPL-2","eot":"NafeesWeb\/NafeesWeb.eot","ttf":"NafeesWeb\/NafeesWeb.ttf","woff":"NafeesWeb\/NafeesWeb.woff"},"Nazli":{"version":"0.4","license":"GPL-2","eot":"Nazli\/Nazli.eot","ttf":"Nazli\/Nazli.ttf","woff":"Nazli\/Nazli.woff"},"Nuosu SIL":{"version":"2.1.1", "license":"OFL","ttf":"NuosuSIL\/NuosuSIL.ttf","eot":"NuosuSIL\/NuosuSIL.eot","woff":"NuosuSIL\/NuosuSIL.woff"},"OpenDyslexic":{"version":"0.6","license":"Creative Commons Attribution 3.0 Unported License","ttf":"OpenDyslexic\/opendyslexic.ttf","eot":"OpenDyslexic\/opendyslexic.eot","woff":"OpenDyslexic\/opendyslexic.woff","variants":{"bold":"OpenDyslexic Bold","italic":"OpenDyslexic Italic"}},"OpenDyslexic Bold":{"version":"0.6","license":"Creative Commons Attribution 3.0 Unported License","fontweight":"bold","ttf":"OpenDyslexic\/opendyslexic-bold.ttf","eot":"OpenDyslexic\/opendyslexic-bold.eot","woff":"OpenDyslexic\/opendyslexic-bold.woff"},"OpenDyslexic Italic":{"version":"0.6","license":"Creative Commons Attribution 3.0 Unported License","fontstyle":"italic","ttf":"OpenDyslexic\/opendyslexic-italic.ttf","eot":"OpenDyslexic\/opendyslexic-italic.eot","woff":"OpenDyslexic\/opendyslexic-italic.woff"},"OskiEast":{"version":"2.200","license":"GPL-3","ttf":"OskiEast\/oskie.ttf","eot": "OskiEast\/oskie.eot","woff":"OskiEast\/oskie.woff","variants":{"bold":"OskiEast Bold","bolditalic":"OskiEast Bold Italic","italic":"OskiEast Italic"}},"OskiEast Bold":{"version":"2.200","license":"GPL-3","fontweight":"bold","ttf":"OskiEast\/oskiebold.ttf","eot":"OskiEast\/oskiebold.eot","woff":"OskiEast\/oskiebold.woff"},"OskiEast Bold Italic":{"version":"2.200","license":"GPL-3","fontweight":"bold","fontstyle":"italic","ttf":"OskiEast\/oskiebolditalic.ttf","eot":"OskiEast\/oskiebolditalic.eot","woff":"OskiEast\/oskiebolditalic.woff"},"OskiEast Italic":{"version":"2.200","license":"GPL-3","fontstyle":"italic","ttf":"OskiEast\/oskieitalic.ttf","eot":"OskiEast\/oskieitalic.eot","woff":"OskiEast\/oskieitalic.woff"},"Padauk":{"version":"2.8","license":"OFL 1.1","eot":"Padauk\/Padauk-Regular.eot","ttf":"Padauk\/Padauk-Regular.ttf","woff":"Padauk\/Padauk-Regular.woff"},"Pagul":{"version":"1.0","license":"GPL 3 with exceptions","eot":"Pagul\/Pagul.eot","ttf":"Pagul\/Pagul.ttf","woff": "Pagul\/Pagul.woff"},"Phetsarath":{"version":"1.01","license":"OFL","ttf":"Phetsarath\/Phetsarath-Regular.ttf","eot":"Phetsarath\/Phetsarath-Regular.eot","woff":"Phetsarath\/Phetsarath-Regular.woff","variants":{"bold":"Phetsarath-Bold"}},"Phetsarath-Bold":{"version":"1.01","license":"OFL","fontweight":"bold","ttf":"Phetsarath\/Phetsarath-Bold.ttf","eot":"Phetsarath\/Phetsarath-Bold.eot","woff":"Phetsarath\/Phetsarath-Bold.woff"},"Saab":{"version":"0.91","license":"GPLv2+ with exceptions","eot":"Saab\/Saab.eot","ttf":"Saab\/Saab.ttf","woff":"Saab\/Saab.woff"},"Saweri":{"version":"2","license":"GPL3","eot":"saweri\/saweri.eot","ttf":"saweri\/saweri.ttf","woff":"saweri\/saweri.woff"},"SertoUrhoy":{"version":"1.20","license":"SertoUrhoy License","eot":"SertoUrhoy\/SyrCOMUrhoy.eot","ttf":"SertoUrhoy\/SyrCOMUrhoy.ttf","woff":"SertoUrhoy\/SyrCOMUrhoy.woff"},"Shapour":{"version":"001.000","license":"GNU GPL","eot":"Shapour\/Shapour.eot","ttf":"Shapour\/Shapour.ttf","woff": "Shapour\/Shapour.woff"},"Siyam Rupali":{"version":"1.070","license":"GPL3","eot":"SiyamRupali\/SiyamRupali.eot","ttf":"SiyamRupali\/SiyamRupali.ttf","woff":"SiyamRupali\/SiyamRupali.woff"},"Taamey Frank CLM":{"version":"0.110","license":"GPL2+","eot":"TaameyFrankCLM\/TaameyFrankCLM.eot","ttf":"TaameyFrankCLM\/TaameyFrankCLM.ttf","woff":"TaameyFrankCLM\/TaameyFrankCLM.woff"},"TharLon":{"version":"1.0","license":"OFL 1.1","eot":"TharLon\/TharLon.eot","ttf":"TharLon\/TharLon.ttf","woff":"TharLon\/TharLon.woff"},"Thendral":{"version":"1.0","license":"GPL 2","eot":"Thendral\/ThendralUni.eot","ttf":"Thendral\/ThendralUni.ttf","woff":"Thendral\/ThendralUni.woff"},"Thenee":{"version":"1.0","license":"GPL 2","eot":"Thenee\/TheneeUni.eot","ttf":"Thenee\/TheneeUni.ttf","woff":"Thenee\/TheneeUni.woff"},"Tuladha Jejeg":{"version":"2.0.1","license":"OFL 1.1","eot":"TuladhaJejeg\/TuladhaJejeg_gr.eot","ttf":"TuladhaJejeg\/TuladhaJejeg_gr.ttf","woff":"TuladhaJejeg\/TuladhaJejeg_gr.woff"}, "UnifrakturMaguntia":{"version":"2012-10-19","license":"OFL 1.1","ttf":"UnifrakturMaguntia\/UnifrakturMaguntia.ttf","eot":"UnifrakturMaguntia\/UnifrakturMaguntia.eot","woff":"UnifrakturMaguntia\/UnifrakturMaguntia.woff"},"Utkal":{"version":"0.13","license":"GPL","eot":"utkal\/utkal.eot","ttf":"utkal\/utkal.ttf","woff":"utkal\/utkal.woff"},"Xerxes":{"version":"1.301","license":"Xerxes","eot":"Xerxes\/Xerxes.eot","ttf":"Xerxes\/Xerxes.ttf","woff":"Xerxes\/Xerxes.woff"},"lklug":{"version":"0.6","license":"GPL-2","ttf":"lklug\/lklug.ttf","eot":"lklug\/lklug.eot","woff":"lklug\/lklug.woff"}}};}(jQuery));;},{},{});mw.loader.implement("ext.visualEditor.viewPageTarget.init",function(){(function(){var conf,tabMessages,uri,pageExists,viewUri,veEditUri,isViewPage,init,support,getTargetDeferred,userPrefEnabled,plugins=[];function getTarget(){var loadTargetDeferred;if(!getTargetDeferred){getTargetDeferred=$.Deferred();loadTargetDeferred=$.Deferred().done(function(){var target=new ve.init.mw. ViewPageTarget();ve.init.mw.targets.push(target);ve.init.mw.ViewPageTarget.prototype.setupSectionEditLinks=init.setupSectionLinks;target.addPlugins(plugins);getTargetDeferred.resolve(target);}).fail(getTargetDeferred.reject);mw.loader.using('ext.visualEditor.viewPageTarget',loadTargetDeferred.resolve,loadTargetDeferred.reject);}return getTargetDeferred.promise();}conf=mw.config.get('wgVisualEditorConfig');tabMessages=conf.tabMessages;uri=new mw.Uri();pageExists=!!mw.config.get('wgArticleId')||mw.config.get('wgNamespaceNumber')<0;viewUri=new mw.Uri(mw.util.wikiGetlink(mw.config.get('wgRelevantPageName')));veEditUri=viewUri.clone().extend({'veaction':'edit'});isViewPage=(mw.config.get('wgIsArticle')&&!('diff'in uri.query));support={es5:!!(Array.isArray&&Array.prototype.filter&&Array.prototype.indexOf&&Array.prototype.map&&Date.now&&Date.prototype.toJSON&&Function.prototype.bind&&Object.create&&Object.keys&&String.prototype.trim&&window.JSON&&JSON.parse&&JSON.stringify),contentEditable: 'contentEditable'in document.createElement('div')};init={support:support,blacklist:{'msie':[['<=',10]],'android':[['<',3]],'firefox':[['<=',14]],'opera':[['<',12]],'blackberry':null},addPlugin:function(plugin){plugins.push(plugin);},setupSkin:function(){init.setupTabs();init.setupSectionLinks();},setupTabs:function(){var caVeEdit,action=pageExists?'edit':'create',pTabsId=$('#p-views').length?'p-views':'p-cactions',$caSource=$('#ca-viewsource'),$caEdit=$('#ca-edit'),$caVeEdit=$('#ca-ve-edit'),$caEditLink=$caEdit.find('a'),$caVeEditLink=$caVeEdit.find('a'),reverseTabOrder=$('body').hasClass('rtl')&&pTabsId==='p-views',caVeEditNextnode=(reverseTabOrder^conf.tabPosition==='before')?$caEdit.get(0):$caEdit.next().get(0);if(!$caVeEdit.length){if($caEdit.length&&!$caSource.length){caVeEdit=mw.util.addPortletLink(pTabsId,veEditUri,tabMessages[action]!==null?mw.msg(tabMessages[action]):$caEditLink.text(),'ca-ve-edit',mw.msg('tooltip-ca-ve-edit'),mw.msg('accesskey-ca-ve-edit'),caVeEditNextnode); $caVeEdit=$(caVeEdit);$caVeEditLink=$caVeEdit.find('a');}}else{if(reverseTabOrder^conf.tabPosition==='before'){if($caEdit[0].nextSibling===$caVeEdit[0]){$caVeEdit.after($caEdit);}}else{if($caVeEdit[0].nextSibling===$caEdit[0]){$caEdit.after($caVeEdit);}}if(tabMessages[action]!==null){$caVeEditLink.text(mw.msg(tabMessages[action]));}}if(tabMessages[action+'source']!==null){$caEditLink.text(mw.msg(tabMessages[action+'source']));}if(tabMessages[action+'appendix']!==null){$caVeEditLink.append($('').addClass('ve-tabmessage-appendix').text(mw.msg(tabMessages[action+'appendix'])));}if(tabMessages[action+'sourceappendix']!==null){$caEditLink.append($('').addClass('ve-tabmessage-appendix').text(mw.msg(tabMessages[action+'sourceappendix'])));}if(isViewPage){$caVeEdit.click(init.onEditTabClick);}},setupSectionLinks:function(){var $editsections=$('#mw-content-text .mw-editsection');$editsections.css('direction',$('body').css('direction'));if($editsections.find( '.mw-editsection-visualeditor').length===0){$editsections.each(function(){var $editsection=$(this),$editSourceLink=$editsection.find('a').eq(0),$editLink=$editSourceLink.clone(),$divider=$(''),dividerText=mw.msg('pipe-separator');if(tabMessages.editsectionsource!==null){$editSourceLink.text(mw.msg(tabMessages.editsectionsource));}if(tabMessages.editsection!==null){$editLink.text(mw.msg(tabMessages.editsection));}$divider.addClass('mw-editsection-divider').text(dividerText);$editLink.attr('href',function(i,val){return new mw.Uri(veEditUri).extend({'vesection':new mw.Uri(val).query.section});}).addClass('mw-editsection-visualeditor');if(conf.tabPosition==='before'){$editSourceLink.before($editLink,$divider);}else{$editSourceLink.after($divider,$editLink);}});}if(tabMessages.editsectionappendix){$editsections.find('.mw-editsection-visualeditor').append($('').addClass('ve-tabmessage-appendix').text(mw.msg(tabMessages.editsectionappendix)));}if(tabMessages. editsectionsourceappendix){$editsections.find('a:not(.mw-editsection-visualeditor)').append($('').addClass('ve-tabmessage-appendix').text(mw.msg(tabMessages.editsectionsourceappendix)));}if(isViewPage){$editsections.addClass('mw-editsection-expanded').find('.mw-editsection-visualeditor').click(init.onEditSectionLinkClick);}},onEditTabClick:function(e){if((e.which&&e.which!==1)||e.shiftKey||e.altKey||e.ctrlKey||e.metaKey){return;}e.preventDefault();getTarget().done(function(target){ve.track('Edit',{action:'edit-link-click'});target.activate();});},onEditSectionLinkClick:function(e){if((e.which&&e.which!==1)||e.shiftKey||e.altKey||e.ctrlKey||e.metaKey){return;}e.preventDefault();getTarget().done(function(target){ve.track('Edit',{action:'section-edit-link-click'});target.saveEditSection($(e.target).closest('h1, h2, h3, h4, h5, h6').get(0));target.activate();});}};support.visualEditor=support.es5&&support.contentEditable&&(('vewhitelist'in uri.query)||!$.client.test(init.blacklist, null,true));userPrefEnabled=(!(conf.disableForAnons&&mw.config.get('wgUserName')===null)&&(mw.config.get('wgUserName')===null?(conf.defaultUserOptions.enable&&!conf.defaultUserOptions.betatempdisable):(mw.user.options.get('visualeditor-enable',conf.defaultUserOptions.enable)&&!mw.user.options.get('visualeditor-betatempdisable',conf.defaultUserOptions.betatempdisable))));init.isAvailable=(support.visualEditor&&userPrefEnabled&&!mw.config.get('wgIsRedirect',!!uri.query.redirect)&&$.inArray(mw.config.get('skin'),conf.skins)!==-1&&$.inArray(new mw.Title(mw.config.get('wgRelevantPageName')).getNamespaceId(),conf.namespaces)!==-1&&mw.config.get('wgPageContentModel')==='wikitext');mw.libs.ve=init;if(init.isAvailable){$('html').addClass('ve-available');}else{$('html').addClass('ve-not-available');}if(!userPrefEnabled){return;}$(function(){if(init.isAvailable&&isViewPage){if(uri.query.veaction==='edit'){getTarget().done(function(target){target.activate();});}}init.setupSkin();});}());;},{"css": [".mw-editsection{white-space:nowrap;padding-right:0.25em; unicode-bidi:-moz-isolate;unicode-bidi:-webkit-isolate;unicode-bidi:isolate}.mw-editsection-divider{color:#555} .mw-content-ltr .mw-editsection-expanded .mw-editsection-bracket:first-of-type,.mw-content-rtl .mw-editsection-expanded .mw-editsection-bracket:not(:first-of-type){margin-left:-0.25em;margin-right:0.25em;color:#555} .mw-content-rtl .mw-editsection-expanded .mw-editsection-bracket:first-of-type,.mw-content-ltr .mw-editsection-expanded .mw-editsection-bracket:not(:first-of-type){margin-right:-0.25em;margin-left:0.25em;color:#555}.ve-tabmessage-appendix{font-size:0.7em;vertical-align:top;line-height:1.43em;padding-left:0.5em; background-image:none !important;display:inline !important}\n/* cache key: enwiki:resourceloader:filter:minify-css:7:542a80e9a1c6a06bda7dfcbb6858ab0f */"]},{"accesskey-ca-editsource":"e","accesskey-ca-ve-edit":"v","pipe-separator":"\u00a0| ","tooltip-ca-createsource": "Create the source code of this page","tooltip-ca-editsource":"Edit the source code of this page","tooltip-ca-ve-edit":"Edit this page with VisualEditor","visualeditor-ca-editsource-section":"edit source","visualeditor-ca-editsource":"Edit source","visualeditor-ca-createsource":"Create source","visualeditor-beta-appendix":"beta"});mw.loader.implement("ext.wikimediaShopLink.core",function(){jQuery(document).ready(function($){'use strict';var userCountry=window.Geo&&window.Geo.country,shopCountries=mw.config.get('wmfshopLinkCountries',[]),hasNavPortal=$('#p-navigation').length;if(hasNavPortal&&$.inArray(userCountry,shopCountries)!==-1){mw.util.addPortletLink('p-navigation',mw.config.get('wmfshopLinkTarget'),mw.msg('wikimediashoplink-linktext'),'n-shoplink',mw.msg('wikimediashoplink-link-tooltip'));}});;},{},{"wikimediashoplink-linktext":"Wikimedia Shop","wikimediashoplink-link-tooltip":"Visit the Wikimedia Shop"});mw.loader.implement("jquery.byteLength",function(){jQuery.byteLength= function(str){return str.replace(/[\u0080-\u07FF\uD800-\uDFFF]/g,'**').replace(/[\u0800-\uD7FF\uE000-\uFFFF]/g,'***').length;};;},{},{});mw.loader.implement("jquery.client",function(){(function($){var profileCache={};$.client={profile:function(nav){if(nav===undefined){nav=window.navigator;}if(profileCache[nav.userAgent]===undefined){var versionNumber,uk='unknown',x='x',wildUserAgents=['Opera','Navigator','Minefield','KHTML','Chrome','PLAYSTATION 3','Iceweasel'],userAgentTranslations=[[/(Firefox|MSIE|KHTML,?\slike\sGecko|Konqueror)/,''],['Chrome Safari','Chrome'],['KHTML','Konqueror'],['Minefield','Firefox'],['Navigator','Netscape'],['PLAYSTATION 3','PS3']],versionPrefixes=['camino','chrome','firefox','iceweasel','netscape','netscape6','opera','version','konqueror','lynx','msie','safari','ps3','android'],versionSuffix='(\\/|\\;?\\s|)([a-z0-9\\.\\+]*?)(\\;|dev|rel|\\)|\\s|$)',names=['camino','chrome','firefox','iceweasel','netscape','konqueror','lynx','msie','opera','safari','ipod', 'iphone','blackberry','ps3','rekonq','android'],nameTranslations=[],layouts=['gecko','konqueror','msie','trident','opera','webkit'],layoutTranslations=[['konqueror','khtml'],['msie','trident'],['opera','presto']],layoutVersions=['applewebkit','gecko','trident'],platforms=['win','wow64','mac','linux','sunos','solaris','iphone'],platformTranslations=[['sunos','solaris'],['wow64','win']],translate=function(source,translations){var i;for(i=0;i400){version='2.0';}if(name==='opera'&&version>=9.8){match=ua.match(/\bversion\/([0-9\.]*)/);if(match&&match[1]){version=match[1];}else{version='10';}}if(name==='chrome'&&(match=ua.match(/\bopr\/([0-9\.]*)/))){if(match[1]){name='opera';version=match[1];}}if(layout==='trident'&&layoutversion>=7&&(match=ua.match(/\brv[ :\/]([0-9\.]*)/))){if(match[1]){name='msie';version=match[1];}}versionNumber=parseFloat(version,10)||0.0;profileCache[nav.userAgent]={name:name,layout:layout,layoutVersion:layoutversion,platform:platform,version:version,versionBase:(version!==x?Math.floor(versionNumber).toString():x),versionNumber:versionNumber};}return profileCache[nav.userAgent];},test: function(map,profile,exactMatchOnly){var conditions,dir,i,op,val;profile=$.isPlainObject(profile)?profile:$.client.profile();if(map.ltr&&map.rtl){dir=$('body').is('.rtl')?'rtl':'ltr';map=map[dir];}if(typeof map!=='object'||map[profile.name]===undefined){return!exactMatchOnly;}conditions=map[profile.name];if(conditions===false){return false;}if(conditions===null){return true;}for(i=0;i1&&(!/Object/.test(Object.prototype.toString.call(value))||value===null||value===undefined)){options=$.extend({},options);if(value===null||value===undefined){options.expires=-1;}if(typeof options.expires==='number'){ var days=options.expires,t=options.expires=new Date();t.setDate(t.getDate()+days);}value=String(value);return(document.cookie=[encodeURIComponent(key),'=',options.raw?value:encodeURIComponent(value),options.expires?'; expires='+options.expires.toUTCString():'',options.path?'; path='+options.path:'',options.domain?'; domain='+options.domain:'',options.secure?'; secure':''].join(''));}options=value||{};var decode=options.raw?function(s){return s;}:decodeURIComponent;var pairs=document.cookie.split('; ');for(var i=0,pair;pair=pairs[i]&&pairs[i].split('=');i++){if(decode(pair[0])===key)return decode(pair[1]||'');}return null;};})(jQuery);;},{},{});mw.loader.implement("jquery.delayedBind",function(){(function($){function encodeEvent(event){return event.replace(/-/g,'--').replace(/ /g,'-');}$.fn.extend({delayedBind:function(timeout,event,data,callback){if(arguments.length===3){callback=data;data=undefined;}var encEvent=encodeEvent(event);return this.each(function(){var that=this;if(!($(this) .data('_delayedBindBound-'+encEvent+'-'+timeout))){$(this).data('_delayedBindBound-'+encEvent+'-'+timeout,true);$(this).bind(event,function(){var timerID=$(this).data('_delayedBindTimerID-'+encEvent+'-'+timeout);if(timerID!==null){clearTimeout(timerID);}timerID=setTimeout(function(){$(that).trigger('_delayedBind-'+encEvent+'-'+timeout);},timeout);$(this).data('_delayedBindTimerID-'+encEvent+'-'+timeout,timerID);});}$(this).bind('_delayedBind-'+encEvent+'-'+timeout,data,callback);});},delayedBindCancel:function(timeout,event){var encEvent=encodeEvent(event);return this.each(function(){var timerID=$(this).data('_delayedBindTimerID-'+encEvent+'-'+timeout);if(timerID!==null){clearTimeout(timerID);}});},delayedBindUnbind:function(timeout,event,callback){var encEvent=encodeEvent(event);return this.each(function(){$(this).unbind('_delayedBind-'+encEvent+'-'+timeout,callback);});}});}(jQuery));;},{},{});mw.loader.implement("jquery.i18n",function(){(function($){'use strict';var nav,I18N,slice= Array.prototype.slice;I18N=function(options){this.options=$.extend({},I18N.defaults,options);this.parser=this.options.parser;this.locale=this.options.locale;this.messageStore=this.options.messageStore;this.languages={};this.init();};I18N.prototype={init:function(){var i18n;i18n=this;String.locale=i18n.locale;String.prototype.toLocaleString=function(){var localeParts,localePartIndex,value,locale,fallbackIndex,_locale,message;value=this.valueOf();locale=i18n.locale;fallbackIndex=0;while(locale){localeParts=locale.toLowerCase().split('-');localePartIndex=localeParts.length;do{_locale=localeParts.slice(0,localePartIndex).join('-');message=i18n.messageStore.get(_locale,value);if(message){return message;}localePartIndex--;}while(localePartIndex);if(locale==='en'){break;}locale=($.i18n.fallbacks[i18n.locale]&&$.i18n.fallbacks[i18n.locale][fallbackIndex])||i18n.options.fallbackLocale;$.i18n.log('Trying fallback locale for '+i18n.locale+': '+locale);fallbackIndex++;}return'';};},destroy: function(){$.removeData(document,'i18n');},load:function(source,locale){return this.messageStore.load(source,locale);},parse:function(key,parameters){var message=key.toLocaleString();this.parser.language=$.i18n.languages[$.i18n().locale]||$.i18n.languages['default'];if(message===''){message=key;}return this.parser.parse(message,parameters);}};$.i18n=function(key,param1){var parameters,i18n=$.data(document,'i18n'),options=typeof key==='object'&&key;if(options&&options.locale&&i18n&&i18n.locale!==options.locale){String.locale=i18n.locale=options.locale;}if(!i18n){i18n=new I18N(options);$.data(document,'i18n',i18n);}if(typeof key==='string'){if(param1!==undefined){parameters=slice.call(arguments,1);}else{parameters=[];}return i18n.parse(key,parameters);}else{return i18n;}};$.fn.i18n=function(){var i18n=$.data(document,'i18n');String.locale=i18n.locale;if(!i18n){i18n=new I18N();$.data(document,'i18n',i18n);}return this.each(function(){var $this=$(this),messageKey=$this.data('i18n');if( messageKey){$this.text(i18n.parse(messageKey));}else{$this.find('[data-i18n]').i18n();}});};String.locale=String.locale||$('html').attr('lang');if(!String.locale){if(typeof window.navigator!==undefined){nav=window.navigator;String.locale=nav.language||nav.userLanguage||'';}else{String.locale='';}}$.i18n.languages={};$.i18n.messageStore=$.i18n.messageStore||{};$.i18n.parser={parse:function(message,parameters){return message.replace(/\$(\d+)/g,function(str,match){var index=parseInt(match,10)-1;return parameters[index]!==undefined?parameters[index]:'$'+match;});},emitter:{}};$.i18n.debug=false;$.i18n.log=function(){if(window.console&&$.i18n.debug){window.console.log.apply(window.console,arguments);}};I18N.defaults={locale:String.locale,fallbackLocale:'en',parser:$.i18n.parser,messageStore:$.i18n.messageStore};$.i18n.constructor=I18N;}(jQuery));(function($,window,undefined){'use strict';var MessageStore=function(){this.messages={};this.sources={};};MessageStore.prototype={load:function( source,locale){var key=null,deferred=null,deferreds=[],messageStore=this;if(typeof source==='string'){$.i18n.log('Loading messages from: '+source);deferred=jsonMessageLoader(source).done(function(localization){messageStore.set(locale,localization);});return deferred.promise();}if(locale){messageStore.set(locale,source);return $.Deferred().resolve();}else{for(key in source){if(Object.prototype.hasOwnProperty.call(source,key)){locale=key;deferreds.push(messageStore.load(source[key],locale));}}return $.when.apply($,deferreds);}},set:function(locale,messages){this.messages[locale]=messages;},get:function(locale,messageKey){return this.messages[locale]&&this.messages[locale][messageKey];}};function jsonMessageLoader(url){return $.getJSON(url).fail(function(jqxhr,settings,exception){$.i18n.log('Error in loading messages from '+url+' Exception: '+exception);});}$.extend($.i18n.messageStore,new MessageStore());}(jQuery,window));(function($){'use strict';var MessageParser=function(options){this .options=$.extend({},$.i18n.parser.defaults,options);this.language=$.i18n.languages[String.locale]||$.i18n.languages['default'];this.emitter=$.i18n.parser.emitter;};MessageParser.prototype={constructor:MessageParser,simpleParse:function(message,parameters){return message.replace(/\$(\d+)/g,function(str,match){var index=parseInt(match,10)-1;return parameters[index]!==undefined?parameters[index]:'$'+match;});},parse:function(message,replacements){if(message.indexOf('{{')<0){return this.simpleParse(message,replacements);}this.emitter.language=$.i18n.languages[$.i18n().locale]||$.i18n.languages['default'];return this.emitter.emit(this.ast(message),replacements);},ast:function(message){var pipe,colon,backslash,anyCharacter,dollar,digits,regularLiteral,regularLiteralWithoutBar,regularLiteralWithoutSpace,escapedOrLiteralWithoutBar,escapedOrRegularLiteral,templateContents,templateName,openTemplate,closeTemplate,expression,paramExpression,result,pos=0;function choice(parserSyntax){return function (){var i,result;for(i=0;i1?['CONCAT'].concat(expr):expr[0];}function templateWithReplacement(){var result=sequence([templateName,colon,replacement]);return result===null?null:[result[0],result[2]];}function templateWithOutReplacement(){var result=sequence([templateName,colon,paramExpression]);return result===null?null:[result[0],result[2]];}templateContents=choice([function(){var res=sequence([choice([templateWithReplacement,templateWithOutReplacement]),nOrMore(0,templateParam)]);return res===null?null:res[0].concat(res[1]);},function(){var res=sequence([templateName,nOrMore(0,templateParam)]);if(res===null){return null;}return[res[0]].concat(res[1]);}]);openTemplate=makeStringParser('{{');closeTemplate=makeStringParser('}}');function template(){var result=sequence([openTemplate,templateContents,closeTemplate]);return result===null?null:result[1];}expression=choice([template,replacement,literal]);paramExpression=choice([template,replacement,literalWithoutBar]);function start(){var result=nOrMore(0,expression)();if(result===null){return null;}return['CONCAT'].concat(result);}result=start();if(result===null||pos!==message.length){throw new Error('Parse error at position '+pos.toString()+' in input: '+message);}return result;}};$.extend($.i18n.parser,new MessageParser());}(jQuery));(function($){'use strict';var MessageParserEmitter=function(){this.language=$.i18n.languages[String.locale]||$.i18n.languages['default'];};MessageParserEmitter.prototype={constructor:MessageParserEmitter,emit:function(node,replacements){var ret,subnodes,operation,messageParserEmitter=this;switch(typeof node){case'string':case'number':ret=node;break;case'object':subnodes=$.map(node.slice(1),function(n){return messageParserEmitter.emit(n,replacements);}); operation=node[0].toLowerCase();if(typeof messageParserEmitter[operation]==='function'){ret=messageParserEmitter[operation](subnodes,replacements);}else{throw new Error('unknown operation "'+operation+'"');}break;case'undefined':ret='';break;default:throw new Error('unexpected type in AST: '+typeof node);}return ret;},concat:function(nodes){var result='';$.each(nodes,function(i,node){result+=node;});return result;},replace:function(nodes,replacements){var index=parseInt(nodes[0],10);if(index=0;i--){pubelm=_storage.__jstorage_meta.PubSub[i];if(pubelm[0]>_pubsub_last){_pubsubCurrent=pubelm[0];_fireSubscribers(pubelm[1],pubelm[2]);}}_pubsub_last=_pubsubCurrent;}function _fireSubscribers(channel,payload){if(_pubsub_observers[channel]){for(var i=0,len=_pubsub_observers[channel].length;i>>8)^x;}return crc^(-1);}$.jStorage={version:JSTORAGE_VERSION,set:function(key,value,options){_checkKey(key);options=options||{};if(typeof value=="undefined"){this.deleteKey(key);return value;}if(_XMLService.isXML(value)){value={_is_xml:true,xml:_XMLService.encode(value)};}else if(typeof value== "function"){return undefined;}else if(value&&typeof value=="object"){value=JSON.parse(JSON.stringify(value));}_storage[key]=value;_storage.__jstorage_meta.CRC32[key]=_crc32(JSON.stringify(value));this.setTTL(key,options.TTL||0);_localStoragePolyfillSetKey(key,value);_fireObservers(key,"updated");return value;},get:function(key,def){_checkKey(key);if(key in _storage){if(_storage[key]&&typeof _storage[key]=="object"&&_storage[key]._is_xml&&_storage[key]._is_xml){return _XMLService.decode(_storage[key].xml);}else{return _storage[key];}}return typeof(def)=='undefined'?null:def;},deleteKey:function(key){_checkKey(key);if(key in _storage){delete _storage[key];if(typeof _storage.__jstorage_meta.TTL=="object"&&key in _storage.__jstorage_meta.TTL){delete _storage.__jstorage_meta.TTL[key];}delete _storage.__jstorage_meta.CRC32[key];_localStoragePolyfillSetKey(key,undefined);_save();_publishChange();_fireObservers(key,"deleted");return true;}return false;},setTTL:function(key,ttl){var curtime=+ new Date();_checkKey(key);ttl=Number(ttl)||0;if(key in _storage){if(!_storage.__jstorage_meta.TTL){_storage.__jstorage_meta.TTL={};}if(ttl>0){_storage.__jstorage_meta.TTL[key]=curtime+ttl;}else{delete _storage.__jstorage_meta.TTL[key];}_save();_handleTTL();_publishChange();return true;}return false;},getTTL:function(key){var curtime=+new Date(),ttl;_checkKey(key);if(key in _storage&&_storage.__jstorage_meta.TTL&&_storage.__jstorage_meta.TTL[key]){ttl=_storage.__jstorage_meta.TTL[key]-curtime;return ttl||0;}return 0;},flush:function(){_storage={__jstorage_meta:{CRC32:{}}};_createPolyfillStorage("local",true);_save();_publishChange();_fireObservers(null,"flushed");return true;},storageObj:function(){function F(){}F.prototype=_storage;return new F();},index:function(){var index=[],i;for(i in _storage){if(_storage.hasOwnProperty(i)&&i!="__jstorage_meta"){index.push(i);}}return index;},storageSize:function(){return _storage_size;},currentBackend:function(){return _backend;},storageAvailable :function(){return!!_backend;},listenKeyChange:function(key,callback){_checkKey(key);if(!_observers[key]){_observers[key]=[];}_observers[key].push(callback);},stopListening:function(key,callback){_checkKey(key);if(!_observers[key]){return;}if(!callback){delete _observers[key];return;}for(var i=_observers[key].length-1;i>=0;i--){if(_observers[key][i]==callback){_observers[key].splice(i,1);}}},subscribe:function(channel,callback){channel=(channel||"").toString();if(!channel){throw new TypeError('Channel not defined');}if(!_pubsub_observers[channel]){_pubsub_observers[channel]=[];}_pubsub_observers[channel].push(callback);},publish:function(channel,payload){channel=(channel||"").toString();if(!channel){throw new TypeError('Channel not defined');}_publish(channel,payload);},reInit:function(){_reloadData();}};_init();})();;},{},{});mw.loader.implement("jquery.json",function(){(function($){'use strict';var escape=/["\\\x00-\x1f\x7f-\x9f]/g,meta={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f', '\r':'\\r','"':'\\"','\\':'\\\\'},hasOwn=Object.prototype.hasOwnProperty;$.toJSON=typeof JSON==='object'&&JSON.stringify?JSON.stringify:function(o){if(o===null){return'null';}var pairs,k,name,val,type=$.type(o);if(type==='undefined'){return undefined;}if(type==='number'||type==='boolean'){return String(o);}if(type==='string'){return $.quoteString(o);}if(typeof o.toJSON==='function'){return $.toJSON(o.toJSON());}if(type==='date'){var month=o.getUTCMonth()+1,day=o.getUTCDate(),year=o.getUTCFullYear(),hours=o.getUTCHours(),minutes=o.getUTCMinutes(),seconds=o.getUTCSeconds(),milli=o.getUTCMilliseconds();if(month<10){month='0'+month;}if(day<10){day='0'+day;}if(hours<10){hours='0'+hours;}if(minutes<10){minutes='0'+minutes;}if(seconds<10){seconds='0'+seconds;}if(milli<100){milli='0'+milli;}if(milli<10){milli='0'+milli;}return'"'+year+'-'+month+'-'+day+'T'+hours+':'+minutes+':'+seconds+'.'+milli+'Z"';}pairs=[];if($.isArray(o)){for(k=0;k
').html('
');}return this.$tip;},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null;}},enable:function(){this.enabled=true;},disable:function(){this.enabled=false;},toggleEnabled:function(){this.enabled=!this.enabled;}};$.fn.tipsy=function(options){if(options===true){return this.data('tipsy');}else if(typeof options=='string'){return this.data('tipsy')[options]();}options=$.extend({},$.fn.tipsy.defaults,options);function get(ele){var tipsy=$.data(ele,'tipsy');if(!tipsy){tipsy=new Tipsy(ele,$.fn.tipsy.elementOptions(ele,options));$.data(ele,'tipsy',tipsy);}return tipsy;}function enter(){var tipsy=get(this);tipsy.hoverState='in';if( options.delayIn==0){tipsy.show();}else{setTimeout(function(){if(tipsy.hoverState=='in')tipsy.show();},options.delayIn);}};function leave(){var tipsy=get(this);tipsy.hoverState='out';if(options.delayOut==0){tipsy.hide();}else{setTimeout(function(){if(tipsy.hoverState=='out')tipsy.hide();},options.delayOut);}};if(!options.live)this.each(function(){get(this);});if(options.trigger!='manual'){var binder=options.live?'live':'bind',eventIn=options.trigger=='hover'?'mouseenter':'focus',eventOut=options.trigger=='hover'?'mouseleave':'blur';this[binder](eventIn,enter)[binder](eventOut,leave);}return this;};$.fn.tipsy.defaults={className:null,delayIn:0,delayOut:0,fade:true,fallback:'',gravity:'n',center:true,html:false,live:false,offset:0,opacity:1.0,title:'title',trigger:'hover'};$.fn.tipsy.elementOptions=function(ele,options){return $.metadata?$.extend({},options,$(ele).metadata()):options;};$.fn.tipsy.autoNS=function(){return $(this).offset().top>($(document).scrollTop()+$(window).height()/2)? 's':'n';};$.fn.tipsy.autoWE=function(){return $(this).offset().left>($(document).scrollLeft()+$(window).width()/2)?'e':'w';};})(jQuery);;},{"css":[ ".tipsy{padding:5px;position:absolute;z-index:100000;cursor:default}.tipsy-inner{padding:5px 8px 4px 8px; background-color:#ffffff;border:solid 1px #a7d7f9;color:black;max-width:15em;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px; }.tipsy-arrow{position:absolute;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALAgMAAADUwp+1AAAACVBMVEX5+fmn1/n///9s6BFKAAAAAXRSTlMAQObYZgAAACpJREFUCB1jZBD4wMiQMoeRcUU4I9uSaYxSE54xZjn8AtMgPkgcJA9UBwAeDw1Qrb3pVAAAAABJRU5ErkJggg==) no-repeat top left;background:url(//bits.wikimedia.org/static-1.22wmf21/resources/jquery.tipsy/images/tipsy.png?2013-10-10T16:40:00Z) no-repeat top left!ie;width:11px;height:6px} .tipsy-n .tipsy-arrow{top:0px;left:50%;margin-left:-5px} .tipsy-nw .tipsy-arrow{top:1px;left:10px} .tipsy-ne .tipsy-arrow{top:1px;right:10px} .tipsy-s .tipsy-arrow{bottom:0px;left:50%;margin-left:-5px;background-position:bottom left} .tipsy-sw .tipsy-arrow{bottom:0px;left:10px;background-position:bottom left} .tipsy-se .tipsy-arrow{bottom:0px;right:10px;background-position:bottom left} .tipsy-e .tipsy-arrow{top:50%;margin-top:-5px;right:1px;width:5px;height:11px;background-position:top right} .tipsy-w .tipsy-arrow{top:50%;margin-top:-5px;left:0px;width:6px;height:11px}\n/* cache key: enwiki:resourceloader:filter:minify-css:7:85b587e661bc5738428cc3d9d684950f */" ]},{});mw.loader.implement("jquery.uls",function(){(function($){'use strict';var template,ULS;template= '\
' ;ULS=function(element,options){this.$element=$(element);this.options=$.extend({},$.fn.uls.defaults,options);this.$menu=$(template);this.languages=this.options.languages;for(var code in this.languages){if($.uls.data.languages[code]===undefined){if(window.console&&window.console.log){window.console.log('ULS: Unknown language '+code+'.');}delete this.languages[code];}}this.left=this.options.left;this.top=this.options.top;this.shown=false;this.initialized=false;this.$languageFilter=this.$menu.find('#languagefilter');this.$regionFilters=this.$menu.find('.uls-region');this.$resultsView=this.$menu.find('div.uls-language-list');this.render();this.listen();this.ready();};ULS.prototype={constructor:ULS,ready:function(){if(this.options.onReady){this.options.onReady.call(this);}},visible:function(){if(this.options.onVisible){this.options.onVisible.call(this);}},position:function(){var pos=$.extend({},this.$element.offset(),{height:this.$element[0].offsetHeight});return{top:this.top||pos.top+pos. height,left:this.left||'25%'};},show:function(){this.$menu.css(this.position());if(this.options.compact){this.$menu.addClass('uls-compact');}if(!this.initialized){$('body').prepend(this.$menu);this.i18n();this.defaultSearch();this.initialized=true;}$('.uls-menu').hide();this.$menu.show();this.$menu.scrollIntoView();this.shown=true;if(!this.isMobile()){this.$languageFilter.focus();}this.visible();},i18n:function(){if($.i18n){this.$menu.find('[data-i18n]').i18n();this.$languageFilter.prop('placeholder',$.i18n('uls-search-placeholder'));}},defaultSearch:function(){this.$resultsView.lcd('empty');this.$regionFilters.regionselector('show');},hide:function(){this.$menu.hide();this.shown=false;},render:function(){},noresults:function(){$('.regionselector').removeClass('active');this.$resultsView.lcd('noResults');},success:function(){$('.regionselector').removeClass('active');this.$resultsView.show();},listen:function(){var lcd,uls=this;uls.$element.on('click',$.proxy(uls.click,uls));uls. $languageFilter.on('searchclear.uls',$.proxy(uls.defaultSearch,uls));uls.$languageFilter.on('noresults.uls',$.proxy(uls.noresults,uls));uls.$languageFilter.on('resultsfound.uls',$.proxy(uls.success,uls));uls.$menu.find('#uls-close').on('click',$.proxy(uls.cancel,uls));uls.$menu.on('click',function(e){e.stopPropagation();});uls.$menu.on('keypress',$.proxy(this.keypress,this)).on('keyup',$.proxy(this.keyup,this));if(this.eventSupported('keydown')){this.$menu.on('keydown',$.proxy(this.keypress,this));}lcd=uls.$resultsView.lcd({languages:uls.languages,quickList:uls.options.quickList,clickhandler:$.proxy(uls.select,uls),source:uls.$languageFilter,showRegions:uls.options.showRegions}).data('lcd');uls.$languageFilter.languagefilter({$target:lcd,languages:uls.languages,searchAPI:uls.options.searchAPI,onSelect:$.proxy(uls.select,uls)});this.$menu.find('.uls-region, .uls-region-link').regionselector({$target:lcd,languages:uls.languages,success:function(regionfilter){uls.$languageFilter. languagefilter('deactivate');if(regionfilter.regionGroup===1){lcd.quicklist();}uls.success();},noresults:function(){uls.$languageFilter.languagefilter('clear');}});$('html').click($.proxy(this.hide,this));},select:function(langCode){this.hide();this.$languageFilter.trigger('searchclear');if(this.options.onSelect){this.options.onSelect.call(this,langCode);}},cancel:function(){this.hide();if(this.options.onCancel){this.options.onCancel.call(this);}},keyup:function(e){if(!this.shown){return;}if(e.keyCode===27){this.cancel();e.preventDefault();e.stopPropagation();}},keypress:function(e){if(!this.shown){return;}if(e.keyCode===27){this.cancel();e.preventDefault();e.stopPropagation();}},click:function(e){e.stopPropagation();e.preventDefault();if(this.shown){this.hide();}else{this.show();}},eventSupported:function(eventName){var isSupported=eventName in this.$menu;if(!isSupported){this.$element.setAttribute(eventName,'return;');isSupported=typeof this.$element[eventName]==='function';}return isSupported ;},isMobile:function(){return navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry)/);}};$.fn.uls=function(option){return this.each(function(){var $this=$(this),data=$this.data('uls'),options=typeof option==='object'&&option;if(!data){$this.data('uls',(data=new ULS(this,options)));}if(typeof option==='string'){data[option]();}});};$.fn.uls.defaults={menu:template,onSelect:null,searchAPI:null,languages:$.uls.data.getAutonyms(),quickList:null,compact:false,showRegions:['WW','AM','EU','ME','AF','AS','PA']};if(!$.fn.i18n){$.fn.i18n=function(){};}$.fn.scrollIntoView=function(){return this.each(function(){var scrollPosition,$window=$(window),windowHeight=$window.height(),windowTop=$window.scrollTop(),windowBottom=windowTop+windowHeight,$element=$(this),panelHeight=$element.height(),panelTop=$element.offset().top,panelBottom=panelTop+panelHeight;if((panelTopwindowBottom)){if(windowTop>panelTop){scrollPosition=panelTop;}else{scrollPosition=panelBottom- windowHeight;}$('html, body').stop().animate({scrollTop:scrollPosition},500);}});};$.fn.uls.Constructor=ULS;}(jQuery));(function($){'use strict';var noResultsTemplate,LanguageCategoryDisplay;noResultsTemplate= '\
\

\ No results found\

\
\
\

\ You can search by language name, \ script name, ISO code of language or \ you can browse by region:\ America, \ Europe, \ Middle East, \ Africa, \ Asia, \ Pacific, \ Worldwide.\

\
\
\
' ;LanguageCategoryDisplay=function(element,options){this.$element=$(element);this.options=$.extend({},$.fn.lcd.defaults,options);this.$element.addClass('lcd');this.regionDivs={};this.$element.append($(noResultsTemplate));this.$noResults=this.$element.find('div.uls-no-results-view');this.render();this.listen();};LanguageCategoryDisplay.prototype={constructor:LanguageCategoryDisplay,append:function(langCode,regionCode){this.addToRegion(langCode,regionCode);this.$noResults.hide();},addToRegion:function(langCode,region){var i,regionCode,$li,$column,lastLanguage,lastScriptGroup,currentScriptGroup,lcd=this,language=lcd.options.languages[langCode],langName=$.uls.data.getAutonym(langCode)||language||langCode,regions=[];if(region){regions.push(region);}else{regions=$.uls.data.getRegions(langCode);}if($.inArray('WW',regions)>-1){regions=['WW'];}for(i=0;i').data('code',langCode).attr({lang:langCode,dir:$.uls.data.getDir(langCode)}).append($( '').prop('title',language).html(langName));$column=lcd.getColumn(regionCode);lastLanguage=$column.find('li:last').data('code');if(lastLanguage){lastScriptGroup=$.uls.data.getScriptGroupOfLanguage(lastLanguage);currentScriptGroup=$.uls.data.getScriptGroupOfLanguage(langCode);if(lastScriptGroup!==currentScriptGroup){if($column.find('li').length>2){$column=lcd.getColumn(regionCode,true);}}}$column.append($li);}},getColumn:function(regionCode,forceNew){var $divRegionCode,$rowDiv,$ul;forceNew=forceNew||false;$divRegionCode=this.regionDivs[regionCode];$rowDiv=$divRegionCode.find('div.row:last');$ul=$rowDiv.find('ul:last');if($ul.length===0||$ul.find('li').length>=8||forceNew){$ul=$('